aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorJoyce Janczyn <janczyn@cygnus>1998-06-18 18:43:11 +0000
committerJoyce Janczyn <janczyn@cygnus>1998-06-18 18:43:11 +0000
commitf0ce242fcd9bc07720283ae79bedc6edad75e36a (patch)
tree168e6c817a61416720eb32a27c3e99734b1f571b /sim/mn10300
parent20af0110865ebbd8f98ab5feed2fb515094da6a5 (diff)
downloadgdb-f0ce242fcd9bc07720283ae79bedc6edad75e36a.zip
gdb-f0ce242fcd9bc07720283ae79bedc6edad75e36a.tar.gz
gdb-f0ce242fcd9bc07720283ae79bedc6edad75e36a.tar.bz2
Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
* interp.c (sim_open): Fix typo in address of EXTMD register (0x34000280, not 0x3400280).
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog17
-rw-r--r--sim/mn10300/interp.c5
2 files changed, 19 insertions, 3 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 8914cfa..4a63f19 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,11 +1,24 @@
start-sanitize-am30
+Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
+ * interp.c (sim_open): Fix typo in address of EXTMD register
+ (0x34000280, not 0x3400280).
+
+end-sanitize-am30
+Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com)
+
+ * simops.c (syscall): Handle change in opcode # for syscall.
+ * mn10300.igen (syscall): Likewise.
+
+start-sanitize-am30
Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
reset) are not enabled on reset.
Sun June 14 17:04:00 1998 Joyce Janczyn <janczyn@cygnus.com>
- * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o register bits.
- * dv-mn103ser.c: Fill in methods for reading and writing to serial device registers.
+ * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o
+ register bits.
+ * dv-mn103ser.c: Fill in methods for reading and writing to serial
+ device registers.
* interp.c (sim_open): Make the serial device a polling device.
Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index 1a1e9f7..e67bee8 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -993,7 +993,7 @@ sim_open (kind, cb, abfd, argv)
/* device support for mn1030002 */
/* interrupt controller */
- sim_hw_parse (sd, "/mn103int@0x34000100/reg 0x34000100 0x7C 0x34000200 0x8 0x3400280 0x8");
+ sim_hw_parse (sd, "/mn103int@0x34000100/reg 0x34000100 0x7C 0x34000200 0x8 0x34000280 0x8");
/* DEBUG: NMI input's */
sim_hw_parse (sd, "/glue@0x30000000/reg 0x30000000 12");
@@ -1084,6 +1084,7 @@ sim_open (kind, cb, abfd, argv)
/* Serial devices 0,1,2 */
sim_hw_parse (sd, "/mn103ser@0x34000800/reg 0x34000800 48");
+ sim_hw_parse (sd, "/mn103ser@0x34000800/poll? true");
/* Hook serial interrupts up to interrupt controller */
sim_hw_parse (sd, "/mn103ser > serial-0-receive serial-0-receive /mn103int");
@@ -1092,6 +1093,8 @@ sim_open (kind, cb, abfd, argv)
sim_hw_parse (sd, "/mn103ser > serial-1-transmit serial-0-transmit /mn103int");
sim_hw_parse (sd, "/mn103ser > serial-2-receive serial-0-receive /mn103int");
sim_hw_parse (sd, "/mn103ser > serial-2-transmit serial-0-transmit /mn103int");
+
+ sim_hw_parse (sd, "/mn103iop@0x36008000/reg 0x36008000 8 0x36008020 8 0x36008040 0xc 0x36008060 8 0x36008080 8");
}
/* end-sanitize-am30 */