Use thread_info and inferior pointers more throughout
[deliverable/binutils-gdb.git] / gdb / sparc64-linux-tdep.c
index 8810c80f60f5ff70deb96c33283bc2ea1c96a8af..6451ffdaccf9453f9a24db5965b9ad74e38845ec 100644 (file)
@@ -282,9 +282,9 @@ sparc64_linux_write_pc (struct regcache *regcache, CORE_ADDR pc)
 
 static LONGEST
 sparc64_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.026647 seconds and 4 git commands to generate.