fix i386-linux cannot_fetch/store_register
authorDaniel Jacobowitz <drow@false.org>
Fri, 13 Jul 2001 05:19:30 +0000 (05:19 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 13 Jul 2001 05:19:30 +0000 (05:19 +0000)
gdb/ChangeLog
gdb/config/i386/nm-linux.h

index a2df30d..ba3ff55 100644 (file)
@@ -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"
index 1ba216b..33c4cf5 100644 (file)
@@ -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