diff options
author | Ben Elliston <bje@au.ibm.com> | 2000-12-04 00:57:57 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2000-12-04 00:57:57 +0000 |
commit | 76440e4ba0ba69ee333c0cfb8e630c68205a80c6 (patch) | |
tree | e0ba7f6fc9691b58f1d9e892d6f96ac30ba4b368 /sim/common | |
parent | 7f53bc3526af9ec9e12670325300c291c4911bab (diff) | |
download | gdb-76440e4ba0ba69ee333c0cfb8e630c68205a80c6.zip gdb-76440e4ba0ba69ee333c0cfb8e630c68205a80c6.tar.gz gdb-76440e4ba0ba69ee333c0cfb8e630c68205a80c6.tar.bz2 |
2000-12-04 Ben Elliston <bje@redhat.com>
* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/cgen-scache.c | 2 | ||||
-rw-r--r-- | sim/common/cgen-trace.c | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 66227ea..ec82ccb 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2000-12-04 Ben Elliston <bje@redhat.com> + + * cgen-trace.c (disassemble_insn): Remove unused declaration. + * cgen-scache.c (scache_option_handler): Remove unused local var. + 2000-12-03 Ben Elliston <bje@redhat.com> * sim-profile.c (profile_option_handler): Remove unused prof_nr. diff --git a/sim/common/cgen-scache.c b/sim/common/cgen-scache.c index 890afc8..282497c 100644 --- a/sim/common/cgen-scache.c +++ b/sim/common/cgen-scache.c @@ -117,8 +117,6 @@ static SIM_RC scache_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, char *arg, int is_command) { - int n; - switch (opt) { case 'c' : diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c index 5b1d0e1..93ce3e6 100644 --- a/sim/common/cgen-trace.c +++ b/sim/common/cgen-trace.c @@ -54,10 +54,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #define SIZE_TRACE_BUF 1024 #endif -static void -disassemble_insn (SIM_CPU *, const CGEN_INSN *, - const struct argbuf *, IADDR, char *); - /* Text is queued in TRACE_BUF because we want to output the insn's cycle count first but that isn't known until after the insn has executed. This also handles the queueing of trace results, TRACE_RESULT may be |