aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-12 15:51:35 +0545
committerMike Frysinger <vapier@gentoo.org>2015-06-12 06:28:17 -0400
commit29bc024d07fe480cd37f36097f23d5585b15e71c (patch)
treed0995562b1a832be100a521ffaf80c83b2b005c2 /sim/mips/sim-main.c
parentbffcfec8c3a15b669579b67d5b626c4d14b2b6df (diff)
downloadgdb-29bc024d07fe480cd37f36097f23d5585b15e71c.zip
gdb-29bc024d07fe480cd37f36097f23d5585b15e71c.tar.gz
gdb-29bc024d07fe480cd37f36097f23d5585b15e71c.tar.bz2
sim: mips: switch to common WITH_TRACE_ANY_P
We want to add new common trace helpers including "TRACE", so change the mips one to the new WITH_TRACE_ANY_P macro since they do the same thing.
Diffstat (limited to 'sim/mips/sim-main.c')
-rw-r--r--sim/mips/sim-main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
index 67fde8d..916769e 100644
--- a/sim/mips/sim-main.c
+++ b/sim/mips/sim-main.c
@@ -152,9 +152,7 @@ load_memory (SIM_DESC SD,
pr_addr (pAddr));
}
-#if defined(TRACE)
dotrace (SD, CPU, tracefh,((IorD == isDATA) ? 0 : 2),(unsigned int)(pAddr&0xFFFFFFFF),(AccessLength + 1),"load%s",((IorD == isDATA) ? "" : " instruction"));
-#endif /* TRACE */
/* Read the specified number of bytes from memory. Adjust for
host/target byte ordering/ Align the least significant byte
@@ -264,9 +262,7 @@ store_memory (SIM_DESC SD,
(LOADDRMASK + 1) << 3,
pr_addr(pAddr));
-#if defined(TRACE)
dotrace (SD, CPU, tracefh,1,(unsigned int)(pAddr&0xFFFFFFFF),(AccessLength + 1),"store");
-#endif /* TRACE */
#ifdef DEBUG
printf("DBG: StoreMemory: offset = %d MemElem = 0x%s%s\n",(unsigned int)(pAddr & LOADDRMASK),pr_uword64(MemElem1),pr_uword64(MemElem));