summaryrefslogtreecommitdiff
path: root/sim/m68hc11
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:31:10 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-08-08 20:31:10 +0000
commit0761ec51000869860b83ccfbede77e7b2bbb873e (patch)
tree4720f9d3b88da974143b320be8566e8e90df9732 /sim/m68hc11
parent7453806254aeabda00b573277559c6302d935f19 (diff)
downloadgdb-0761ec51000869860b83ccfbede77e7b2bbb873e.tar.gz
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
Diffstat (limited to 'sim/m68hc11')
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/sim-main.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 27177512c4f..086f508d951 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,4 +1,8 @@
2003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
+
+ * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
+
+2003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
Gary Piercey <gpiercey@northstar-technical.com>
* m68hc11_sim.c (print_io_word): New function to print 16-bit value.
diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h
index b32076b6e16..eac6b0ed142 100644
--- a/sim/m68hc11/sim-main.h
+++ b/sim/m68hc11/sim-main.h
@@ -79,8 +79,8 @@ enum cpu_type
#define A_REGNUM 5
#define B_REGNUM 6
#define PSW_REGNUM 7
-#define Z_REGNUM 8
-#define PAGE_REGNUM 9
+#define PAGE_REGNUM 8
+#define Z_REGNUM 9
typedef struct m6811_regs {
unsigned short d;