Use thread_info and inferior pointers more throughout
[deliverable/binutils-gdb.git] / gdb / amd64-linux-tdep.c
index 521e32a9c243fe6a1c8b6c2350f7a7cdde71fd3f..ef9248d708d35724a97500aacf04e0a07830fff3 100644 (file)
@@ -222,9 +222,9 @@ amd64_linux_sigcontext_addr (struct frame_info *this_frame)
 
 static LONGEST
 amd64_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[8];
This page took 0.025767 seconds and 4 git commands to generate.