From 6ef7fa21cf6e2ac5093daabf2b5e1ed203e77cab Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 13 Jul 2001 05:19:30 +0000 Subject: [PATCH] fix i386-linux cannot_fetch/store_register --- gdb/ChangeLog | 6 ++++++ gdb/config/i386/nm-linux.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a2df30d908f..ba3ff5520f2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-07-12 Daniel Jacobowitz + + * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right + function. + (CANNOT_STORE_REGISTER): Likewise. + 2001-07-12 Keith Seitz * remote-rdp.c: Include "serial.h" diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index 1ba216b9330..33c4cf5af76 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 -- 2.30.2