* 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 79ed0c6a756b675307fb48cdf7ae29724e65a4dc..f0de11f7a5128f21ff818f8758a94066787a3a33 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 40755a8323f3374600efafcb379842e0653e8c32..2366474657ac75a6bc9661d8da486550dc2aaff6 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;
        }