* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
authorPedro Alves <palves@redhat.com>
Mon, 23 Feb 2009 00:42:06 +0000 (00:42 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 23 Feb 2009 00:42:06 +0000 (00:42 +0000)
`ops' to recursive call.

gdb/ChangeLog
gdb/i386-linux-nat.c

index 79ed0c6..f0de11f 100644 (file)
@@ -1,5 +1,10 @@
 2009-02-23  Pedro Alves  <pedro@codesourcery.com>
 
+       * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
+       `ops' to recursive call.
+
+2009-02-23  Pedro Alves  <pedro@codesourcery.com>
+
        * corelow.c (get_core_registers): Adjust.
        (core_file_thread_alive): Rename to...
        (core_thread_alive): ... this.
index 40755a8..2366474 100644 (file)
@@ -484,7 +484,7 @@ i386_linux_fetch_inferior_registers (struct target_ops *ops,
       /* The call above might reset `have_ptrace_getregs'.  */
       if (!have_ptrace_getregs)
        {
-         i386_linux_fetch_inferior_registers (regcache, regno);
+         i386_linux_fetch_inferior_registers (ops, regcache, regno);
          return;
        }