diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-22 23:16:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-24 00:48:40 -0400 |
commit | 523ba8f92e3ff4c49f65b582c89b4563b1b665ad (patch) | |
tree | fc9297b3e65fa57d9718c1f095920c45fe6abb0b /sim/m68hc11 | |
parent | c4a6006b2e1b42124c90ea86597be3df0a177a4e (diff) | |
download | gdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.zip gdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.tar.gz gdb-523ba8f92e3ff4c49f65b582c89b4563b1b665ad.tar.bz2 |
sim: erc32/h8300/m68hc11: trim unused functions
These funcs are only used with the old run.o, and these sims use nrun.o,
so drop these stub funcs.
Diffstat (limited to 'sim/m68hc11')
-rw-r--r-- | sim/m68hc11/ChangeLog | 6 | ||||
-rw-r--r-- | sim/m68hc11/interp.c | 31 | ||||
-rw-r--r-- | sim/m68hc11/sim-main.h | 2 |
3 files changed, 6 insertions, 33 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index fc18f38..e311bc9 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,5 +1,11 @@ 2015-03-24 Mike Frysinger <vapier@gentoo.org> + * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks, + sim_size, sim_trace): Delete. + * sim-main.h (sim_set_profile, sim_set_profile_size): Delete. + +2015-03-24 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2015-03-23 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index b787eb1..77aebcb 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -502,16 +502,6 @@ sim_close (SIM_DESC sd, int quitting) return; } -void -sim_set_profile (int n) -{ -} - -void -sim_set_profile_size (int n) -{ -} - /* Generic implementation of sim_engine_run that works within the sim_engine setjmp/longjmp framework. */ @@ -537,13 +527,6 @@ sim_engine_run (SIM_DESC sd, } } -int -sim_trace (SIM_DESC sd) -{ - sim_resume (sd, 0, 0); - return 1; -} - void sim_info (SIM_DESC sd, int verbose) { @@ -573,14 +556,6 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, return sim_prepare_for_program (sd, abfd); } - -void -sim_set_callbacks (host_callback *p) -{ - /* m6811_callback = p; */ -} - - int sim_fetch_register (SIM_DESC sd, int rn, unsigned char *memory, int length) { @@ -704,12 +679,6 @@ sim_store_register (SIM_DESC sd, int rn, unsigned char *memory, int length) return 2; } -void -sim_size (int s) -{ - ; -} - /* Halt the simulator after just one instruction */ static void diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h index f686ed7..5dfc1bf 100644 --- a/sim/m68hc11/sim-main.h +++ b/sim/m68hc11/sim-main.h @@ -587,8 +587,6 @@ struct sim_state { sim_state_base base; }; -extern void sim_set_profile (int n); -extern void sim_set_profile_size (int n); extern void sim_board_reset (SIM_DESC sd); #define PRINT_TIME 0x01 |