aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-11-11 07:50:13 +0000
committerAndrew Cagney <cagney@redhat.com>1997-11-11 07:50:13 +0000
commit030843d7f82aaf1ea2752cbdbb79013256acb847 (patch)
treecaeb7f66c0f776b6771bc03d7a554e3ada068658 /sim/mips/interp.c
parentf445a8902d6862078a541defb2b8ae29daa6d37d (diff)
downloadgdb-030843d7f82aaf1ea2752cbdbb79013256acb847.zip
gdb-030843d7f82aaf1ea2752cbdbb79013256acb847.tar.gz
gdb-030843d7f82aaf1ea2752cbdbb79013256acb847.tar.bz2
Fix IGEN version of MFC0, MTC0, SWC1, LWC1, SDC1, LDC1, LWXC1,
SWXC1MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1, MULT, MULTU, BEQZ, ...MTHI, MFHI instructions. Trace nullified instruction.
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r--sim/mips/interp.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index 78c9903..ac72d6d 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -103,7 +103,6 @@ char* pr_uword64 PARAMS ((uword64 addr));
/*-- GDB simulator interface ------------------------------------------------*/
/*---------------------------------------------------------------------------*/
-static void dotrace PARAMS((SIM_DESC sd,FILE *tracefh,int type,SIM_ADDR address,int width,char *comment,...));
static void ColdReset PARAMS((SIM_DESC sd));
/*---------------------------------------------------------------------------*/
@@ -144,7 +143,7 @@ static void ColdReset PARAMS((SIM_DESC sd));
#if defined(TRACE)
static char *tracefile = "trace.din"; /* default filename for trace log */
-static FILE *tracefh = NULL;
+FILE *tracefh = NULL;
static void open_trace PARAMS((SIM_DESC sd));
#endif /* TRACE */
@@ -806,7 +805,7 @@ sim_monitor(sd,cia,reason)
address_word value = MEM_SIZE /* FIXME STATE_MEM_SIZE (sd) */;
H2T (value);
sim_write (sd, A0, (char *)&value, sizeof (value));
- sim_io_eprintf (sd, "sim: get_mem_info() depreciated\n");
+ /* sim_io_eprintf (sd, "sim: get_mem_info() depreciated\n"); */
break;
}
@@ -1129,8 +1128,8 @@ mips16_entry (sd,insn)
currently have an ARM version of their tool called ChARM. */
-static
-void dotrace(SIM_DESC sd,FILE *tracefh,int type,SIM_ADDR address,int width,char *comment,...)
+void
+dotrace (SIM_DESC sd,FILE *tracefh,int type,SIM_ADDR address,int width,char *comment,...)
{
if (STATE & simTRACE) {
va_list ap;