Use thread_info and inferior pointers more throughout
[deliverable/binutils-gdb.git] / gdb / s390-linux-tdep.c
index cd840c86d65a459afa380b04a1a20d0548222c28..d9ac40b625f97c7a1f80a76b5fbc8f4a92cb96d3 100644 (file)
@@ -557,9 +557,9 @@ static const struct frame_unwind s390_sigtramp_frame_unwind = {
 
 static LONGEST
 s390_linux_get_syscall_number (struct gdbarch *gdbarch,
-                              ptid_t ptid)
+                              thread_info *thread)
 {
-  struct regcache *regs = get_thread_regcache (ptid);
+  struct regcache *regs = get_thread_regcache (thread);
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
   ULONGEST pc;
This page took 0.024637 seconds and 4 git commands to generate.