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.
This commit is contained in:
Ben Elliston 2000-12-04 00:57:57 +00:00
parent 7f53bc3526
commit 76440e4ba0
3 changed files with 5 additions and 6 deletions

View file

@ -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> 2000-12-03 Ben Elliston <bje@redhat.com>
* sim-profile.c (profile_option_handler): Remove unused prof_nr. * sim-profile.c (profile_option_handler): Remove unused prof_nr.

View file

@ -117,8 +117,6 @@ static SIM_RC
scache_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, scache_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt,
char *arg, int is_command) char *arg, int is_command)
{ {
int n;
switch (opt) switch (opt)
{ {
case 'c' : case 'c' :

View file

@ -54,10 +54,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define SIZE_TRACE_BUF 1024 #define SIZE_TRACE_BUF 1024
#endif #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 /* 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. 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 This also handles the queueing of trace results, TRACE_RESULT may be