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 | 86596dc8e0f8e5832ea8abff4ee6ae0c0d734238 (patch) | |
tree | da4535d137b0a5949a359b3ae89baeb3d7068fa5 /sim/m68hc11/interp.c | |
parent | 827ec39a5a8af8821006d93978623dc1ababdac1 (diff) | |
download | gdb-86596dc8e0f8e5832ea8abff4ee6ae0c0d734238.zip gdb-86596dc8e0f8e5832ea8abff4ee6ae0c0d734238.tar.gz gdb-86596dc8e0f8e5832ea8abff4ee6ae0c0d734238.tar.bz2 |
* 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 0cdf16a..ee2acef 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); |