diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-11-11 07:50:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-11-11 07:50:13 +0000 |
commit | 030843d7f82aaf1ea2752cbdbb79013256acb847 (patch) | |
tree | caeb7f66c0f776b6771bc03d7a554e3ada068658 /sim/mips/sim-main.h | |
parent | f445a8902d6862078a541defb2b8ae29daa6d37d (diff) | |
download | gdb-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.h | 3 |
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 |