aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-03-06 06:46:29 +0000
committerChris Demetriou <cgd@google.com>2002-03-06 06:46:29 +0000
commitb96e7ef1a0c44ddb577e2a970d3191800a2e4f0e (patch)
tree45232218cd7a645a4711c7f06a10fd8087d030ce /sim/mips/sim-main.h
parentefdab8079f32f3abe5ae89cb01ccd5073809aa78 (diff)
downloadgdb-b96e7ef1a0c44ddb577e2a970d3191800a2e4f0e.zip
gdb-b96e7ef1a0c44ddb577e2a970d3191800a2e4f0e.tar.gz
gdb-b96e7ef1a0c44ddb577e2a970d3191800a2e4f0e.tar.bz2
2002-03-05 Chris Demetriou <cgd@broadcom.com>
* sim-main.h (UndefinedResult, Unpredictable): New macros which currently do nothing.
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 256dd1f..7c34888 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -771,6 +771,9 @@ INLINE_SIM_MAIN (void) prefetch PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word
#define Prefetch(CCA,pAddr,vAddr,DATA,hint) \
prefetch (SD, CPU, cia, CCA, pAddr, vAddr, DATA, hint)
+#define UndefinedResult()
+#define Unpredictable()
+
INLINE_SIM_MAIN (unsigned32) ifetch32 PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, address_word vaddr));
#define IMEM32(CIA) ifetch32 (SD, CPU, (CIA), (CIA))
INLINE_SIM_MAIN (unsigned16) ifetch16 PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, address_word vaddr));