Use thread_info and inferior pointers more throughout
[deliverable/binutils-gdb.git] / gdb / bfin-linux-tdep.c
index f84e2e0fc5f8d58643e486c1917de479319c18bb..e3bbb0f9f1f87d477d43248862fc0727036dc826 100644 (file)
@@ -128,9 +128,9 @@ static const struct tramp_frame bfin_linux_sigframe =
 
 static LONGEST
 bfin_linux_get_syscall_number (struct gdbarch *gdbarch,
-                               ptid_t ptid)
+                              thread_info *thread)
 {
-  struct regcache *regcache = get_thread_regcache (ptid);
+  struct regcache *regcache = get_thread_regcache (thread);
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
   /* The content of a register.  */
   gdb_byte buf[4];
This page took 0.030087 seconds and 4 git commands to generate.