aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/mloop.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-12 13:29:02 +0545
committerMike Frysinger <vapier@gentoo.org>2015-06-12 04:19:45 -0400
commitdb7858e227f3951c665410314fca62c77349ac24 (patch)
tree01fb8b93600bc89ef86a7e883ca17e3df8387174 /sim/frv/mloop.in
parent966f0aefa6a96df2c45ec36a7ecc02419e3842db (diff)
downloadgdb-db7858e227f3951c665410314fca62c77349ac24.zip
gdb-db7858e227f3951c665410314fca62c77349ac24.tar.gz
gdb-db7858e227f3951c665410314fca62c77349ac24.tar.bz2
sim: cgen: namespace custom trace functions
The cgen code declares some macros/funcs using the trace_xxx prefix, but the code isn't generic and only works with cgen targets. This is blocking the creation of new common trace functions. Let's blindly add cgen_xxx prefixes to all these symbols. Some already use this convention to avoid conflicts, so it makes sense to align them. In the future we might want to move some to the common trace core, but one thing at a time.
Diffstat (limited to 'sim/frv/mloop.in')
-rw-r--r--sim/frv/mloop.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/frv/mloop.in b/sim/frv/mloop.in
index f158ead..2629a82 100644
--- a/sim/frv/mloop.in
+++ b/sim/frv/mloop.in
@@ -92,8 +92,8 @@ execute (SIM_CPU *current_cpu, SCACHE *sc, int fast_p)
}
else
model_insn = FRV_INSN_NO_MODELING;
- TRACE_INSN_INIT (current_cpu, abuf, 1);
- TRACE_INSN (current_cpu, idesc->idata,
+ CGEN_TRACE_INSN_INIT (current_cpu, abuf, 1);
+ CGEN_TRACE_INSN (current_cpu, idesc->idata,
(const struct argbuf *) abuf, abuf->addr);
}
#if WITH_SCACHE
@@ -116,7 +116,7 @@ execute (SIM_CPU *current_cpu, SCACHE *sc, int fast_p)
cycles = 1;
@cpu@_model_insn_after (current_cpu, sc->last_insn_p, cycles);
}
- TRACE_INSN_FINI (current_cpu, abuf, 1);
+ CGEN_TRACE_INSN_FINI (current_cpu, abuf, 1);
}
}