aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2717751..086f508 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 b32076b..eac6b0e 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;