Use thread_info and inferior pointers more throughout
[deliverable/binutils-gdb.git] / gdb / sparc-linux-tdep.c
index 00f4513489c751ed488500ab73ed8101fdd403f3..0933a44cf9fd35a65563a8a98f385b7d391e8167 100644 (file)
@@ -274,9 +274,9 @@ sparc_linux_write_pc (struct regcache *regcache, CORE_ADDR pc)
 
 static LONGEST
 sparc32_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.026541 seconds and 4 git commands to generate.