diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/tconfig.h | 3 | ||||
-rw-r--r-- | sim/erc32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/erc32/interf.c | 22 | ||||
-rw-r--r-- | sim/h8300/ChangeLog | 5 | ||||
-rw-r--r-- | sim/h8300/compile.c | 23 | ||||
-rw-r--r-- | sim/h8300/tconfig.h | 6 | ||||
-rw-r--r-- | sim/m68hc11/ChangeLog | 6 | ||||
-rw-r--r-- | sim/m68hc11/interp.c | 31 | ||||
-rw-r--r-- | sim/m68hc11/sim-main.h | 2 |
10 files changed, 21 insertions, 85 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c474abe..85cf559 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2015-03-24 Mike Frysinger <vapier@gentoo.org> + * tconfig.h: Note SIM_HAVE_PROFILE is deprecated. + +2015-03-24 Mike Frysinger <vapier@gentoo.org> + * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated. 2015-03-24 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/common/tconfig.h b/sim/common/tconfig.h index 4df076e..9cf9687 100644 --- a/sim/common/tconfig.h +++ b/sim/common/tconfig.h @@ -5,7 +5,8 @@ /* Define this if the simulator supports profiling. See the mips simulator for an example. This enables the `-p foo' and `-s bar' options. - The target is required to provide sim_set_profile{,_size}. */ + The target is required to provide sim_set_profile{,_size}. + TODO: This is specific to the old run.o main. */ /* #define SIM_HAVE_PROFILE */ /* Define this if the simulator uses an instruction cache. diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 3c4daa3..a1e6ed7 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2015-03-24 Mike Frysinger <vapier@gentoo.org> + + * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete. + 2015-03-17 Jiri Gaisler <jiri@gaisler.se> * func.c (exec_cmd): Silence compiler warnings when calling system(). diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 608b224..7d64ed6 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -162,19 +162,6 @@ run_sim(sregs, icount, dis) return (TIME_OUT); } -void -sim_set_callbacks (ptr) - host_callback *ptr; -{ - sim_callback = ptr; -} - -void -sim_size (memsize) - int memsize; -{ -} - SIM_DESC sim_open (kind, callback, abfd, argv) SIM_OPEN_KIND kind; @@ -468,15 +455,6 @@ sim_resume(SIM_DESC sd, int step, int siggnal) if (sis_gdb_break) flush_windows (); } -int -sim_trace (sd) - SIM_DESC sd; -{ - /* FIXME: unfinished */ - sim_resume (sd, 0, 0); - return 1; -} - void sim_do_command(sd, cmd) SIM_DESC sd; diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 0ef2344..7fff0bd 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Mike Frysinger <vapier@gentoo.org> + + * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete. + * tconfig.h (SIM_HAVE_PROFILE): Delete. + 2015-03-16 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 4deba82..2574168 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -4595,15 +4595,6 @@ sim_resume (SIM_DESC sd, int step, int siggnal) } int -sim_trace (SIM_DESC sd) -{ - /* FIXME: Unfinished. */ - (*sim_callback->printf_filtered) (sim_callback, - "sim_trace: trace not supported.\n"); - return 1; /* Done. */ -} - -int sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size) { int i; @@ -4790,14 +4781,6 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc) sim_engine_get_run_state (sd, reason, sigrc); } -/* FIXME: Rename to sim_set_mem_size. */ - -void -sim_size (int n) -{ - /* Memory size is fixed. */ -} - static void set_simcache_size (SIM_DESC sd, int n) { @@ -5094,9 +5077,3 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env) return SIM_RC_OK; } - -void -sim_set_callbacks (struct host_callback_struct *ptr) -{ - sim_callback = ptr; -} diff --git a/sim/h8300/tconfig.h b/sim/h8300/tconfig.h index d9599db..5a683f0 100644 --- a/sim/h8300/tconfig.h +++ b/sim/h8300/tconfig.h @@ -1,11 +1,5 @@ /* h8300 target configuration file. */ -/* Define this if the simulator supports profiling. - See the mips simulator for an example. - This enables the `-p foo' and `-s bar' options. - The target is required to provide sim_set_profile{,_size}. */ -/* #define SIM_HAVE_PROFILE */ - /* Define this if the simulator uses an instruction cache. See the h8/300 simulator for an example. This enables the `-c size' option to set the size of the cache. 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 |