Remove unused variables from gdbserver
[deliverable/binutils-gdb.git] / gdb / i386-linux-tdep.c
index 1919c8b8cf8102d6af4275e0cad4b3f53893c2d5..f5b039b7944fbaafb6275922b436ab83158ea75b 100644 (file)
@@ -559,9 +559,9 @@ i386_linux_get_syscall_number_from_regcache (struct regcache *regcache)
 
 static LONGEST
 i386_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);
 
   return i386_linux_get_syscall_number_from_regcache (regcache);
 }
This page took 0.025288 seconds and 4 git commands to generate.