aboutsummaryrefslogtreecommitdiff
path: root/sim
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
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')
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/mips/sim-main.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 25ce89c..1a37721 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@
2002-03-05 Chris Demetriou <cgd@broadcom.com>
+ * sim-main.h (UndefinedResult, Unpredictable): New macros
+ which currently do nothing.
+
+2002-03-05 Chris Demetriou <cgd@broadcom.com>
+
* sim-main.h (status_UX, status_SX, status_KX, status_TS)
(status_PX, status_MX, status_CU0, status_CU1, status_CU2)
(status_CU3): New definitions.
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));