This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Modernize solaris threads support.
Forgot that i386-linux-nat.c isn't built when building an x86_64-linux GDB...
Just found there was a recursive call in there that I missed updating.
Fixed thusly.
--
Pedro Alves
2009-02-23 Pedro Alves <pedro@codesourcery.com>
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass
`ops' to recursive call.
---
gdb/i386-linux-nat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: src/gdb/i386-linux-nat.c
===================================================================
--- src.orig/gdb/i386-linux-nat.c 2009-02-23 00:39:45.000000000 +0000
+++ src/gdb/i386-linux-nat.c 2009-02-23 00:40:10.000000000 +0000
@@ -484,7 +484,7 @@ i386_linux_fetch_inferior_registers (str
/* 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;
}