This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch applied] fix typo in i386/nm-linux.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]