This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch applied] fix typo in i386/nm-linux.h
- To: gdb-patches at sources dot redhat dot com
- Subject: [patch applied] fix typo in i386/nm-linux.h
- From: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Date: Thu, 12 Jul 2001 22:21:17 -0700
Committed, under the obvious rule: a harmless typo, since
OLD_CANNOT_FETCH_REGISTER and OLD_CANNOT_STORE_REGISTER are identical, but
it sure threw me a loop when I first saw it.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
2001-07-12 Daniel Jacobowitz <drow@mvista.com>
* config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
function.
(CANNOT_STORE_REGISTER): Likewise.
Index: config/i386/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-linux.h,v
retrieving revision 1.11
diff -u -r1.11 nm-linux.h
--- nm-linux.h 2001/05/04 04:15:31 1.11
+++ nm-linux.h 2001/07/13 05:10:15
@@ -76,8 +76,8 @@
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