This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
mn10300's definition of EO_REGNUM, corrected
- To: gdb-patches at sources dot redhat dot com
- Subject: mn10300's definition of EO_REGNUM, corrected
- From: Matt Hiller <hiller at redhat dot com>
- Date: Fri, 2 Mar 2001 17:12:39 -0800 (PST)
This is a quick register numbering fix. (Witness the inconsistency
between the arrays in mn10300-tdep.c and config/mn10300/tm-mn10300.h
without it.) I've been suitably browbeaten for committing it without
posting the patch first, even if obvious.
2001-03-02 Matt Hiller <hiller@redhat.com>
* config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
Index: config/mn10300/tm-mn10300.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mn10300/tm-mn10300.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- tm-mn10300.h 2000/08/12 03:28:42 1.4
+++ tm-mn10300.h 2001/03/02 22:41:05 1.5
@@ -56,7 +56,7 @@
#define PSW_REGNUM 11
#define LIR_REGNUM 12
#define LAR_REGNUM 13
-#define E0_REGNUM 14
+#define E0_REGNUM 15
/* Pseudo register that contains true address of executing stack frame */
#define FP_REGNUM 31