aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
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/sim-main.h
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/sim-main.h')
-rw-r--r--sim/mips/sim-main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 2307423..4b61ca2 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -316,6 +316,7 @@ struct _sim_cpu {
#define NULLIFY_NEXT_INSTRUCTION() \
do { \
sim_events_slip (sd, 1); \
+ dotrace (sd, tracefh, 2, NIA, 4, "load instruction"); \
NIA = CIA + 8; \
} while (0)
@@ -712,5 +713,7 @@ void prefetch PARAMS ((SIM_DESC sd, address_word cia, int CCA, address_word pAdd
unsigned32 ifetch32 PARAMS ((SIM_DESC sd, address_word cia, address_word vaddr));
#define IMEM(CIA) ifetch32 (SD, (CIA), (CIA))
+void dotrace PARAMS ((SIM_DESC sd, FILE *tracefh, int type, SIM_ADDR address, int width, char *comment, ...));
+FILE *tracefh;
#endif