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 a2df30d908fb7bb8b26faa80926891668f20eecb..ba3ff5520f200b24b0127eac91979ef1d6eedd20 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 1ba216b93305ae9723eb917f8a2b1318e794a84d..33c4cf5af764c5b77e964c08b8d12cde4323f75a 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