diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-03-07 19:17:04 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-03-07 19:17:04 +0000 |
commit | 0b9fcb5503cad4ba17f94e31bd5e5375552a286a (patch) | |
tree | 1c12121d243e184d0fe1e29cfc0654db533e1af3 /sim/m68hc11/interp.c | |
parent | 45dd15186ecc70722f79bd555ec9393896e129ba (diff) | |
download | gdb-0b9fcb5503cad4ba17f94e31bd5e5375552a286a.tar.gz |
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
(cpu_move16): Likewise.
(sim_memory_error): Use sim_io_printf.
(cpu_option_handler): Fix compilation warning.
* interp.c (sim_hw_configure): Fix compilation warning;
remove m68hc12sio@2 device.
(sim_open): Likewise.
* dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
flags when reset.
(cycle_to_string): Improve convertion of cpu cycle number.
(m68hc11tim_info): Print info about PACNT.
(m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
TCTL1 and TCTL2 registers.
* dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
Diffstat (limited to 'sim/m68hc11/interp.c')
-rw-r--r-- | sim/m68hc11/interp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index 0cdf16a2571..ee2acef698c 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -171,7 +171,6 @@ sim_hw_configure (SIM_DESC sd) { const struct bfd_arch_info *arch; struct hw *device_tree; - int m6811_mode; sim_cpu *cpu; arch = STATE_ARCHITECTURE (sd); @@ -252,12 +251,6 @@ sim_hw_configure (SIM_DESC sd) sim_hw_parse (sd, "/m68hc12/m68hc12sio@1/backend stdio"); sim_hw_parse (sd, "/m68hc12 > cpu-reset reset /m68hc12/m68hc12sio@1"); } - if (!hw_tree_find_property (device_tree, "/m68hc12/m68hc12sio@2/reg")) - { - sim_hw_parse (sd, "/m68hc12/m68hc12sio@2/reg 0xC8 0x8"); - sim_hw_parse (sd, "/m68hc12/m68hc12sio@2/backend tcp"); - sim_hw_parse (sd, "/m68hc12 > cpu-reset reset /m68hc12/m68hc12sio@2"); - } if (hw_tree_find_property (device_tree, "/m68hc12/m68hc12tim/reg") == 0) { /* M68hc11 Timer configuration. */ @@ -312,10 +305,8 @@ SIM_DESC sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct _bfd *abfd, char **argv) { - char **p; SIM_DESC sd; sim_cpu *cpu; - struct hw *device_tree; sd = sim_state_alloc (kind, callback); cpu = STATE_CPU (sd, 0); |