diff options
author | Daniel Jacobowitz <drow@false.org> | 2001-07-13 05:19:30 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2001-07-13 05:19:30 +0000 |
commit | 6ef7fa21cf6e2ac5093daabf2b5e1ed203e77cab (patch) | |
tree | 2542772bfb04a1a949e2fac24c848743bcd12cf4 | |
parent | 75e266acb32f63df6062f1abb80b1ab08ced2f81 (diff) | |
download | gdb-6ef7fa21cf6e2ac5093daabf2b5e1ed203e77cab.zip gdb-6ef7fa21cf6e2ac5093daabf2b5e1ed203e77cab.tar.gz gdb-6ef7fa21cf6e2ac5093daabf2b5e1ed203e77cab.tar.bz2 |
fix i386-linux cannot_fetch/store_register
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config/i386/nm-linux.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a2df30d..ba3ff55 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-07-12 Daniel Jacobowitz <drow@mvista.com> + + * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right + function. + (CANNOT_STORE_REGISTER): Likewise. + 2001-07-12 Keith Seitz <keiths@redhat.com> * remote-rdp.c: Include "serial.h" diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index 1ba216b..33c4cf5 100644 --- a/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h @@ -76,8 +76,8 @@ extern unsigned long i386_linux_dr_get_status (void); general-purpose registers in that way. */ extern int cannot_fetch_register (int regno); extern int cannot_store_register (int regno); -#define CANNOT_FETCH_REGISTER(regno) cannot_store_register (regno) -#define CANNOT_STORE_REGISTER(regno) cannot_fetch_register (regno) +#define CANNOT_FETCH_REGISTER(regno) cannot_fetch_register (regno) +#define CANNOT_STORE_REGISTER(regno) cannot_store_register (regno) /* Override child_resume in `infptrace.c'. */ #define CHILD_RESUME |