aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-30 23:20:23 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-05 14:37:45 -0500
commit824c862804128f6d31ae5f80fb741d12419da943 (patch)
tree99395bf63427f5e2c81c4c31164eacaa6fbd1335 /sim/bfin
parent70d394483206f5afe911fa21c8456b852c12da74 (diff)
downloadgdb-824c862804128f6d31ae5f80fb741d12419da943.zip
gdb-824c862804128f6d31ae5f80fb741d12419da943.tar.gz
gdb-824c862804128f6d31ae5f80fb741d12419da943.tar.bz2
sim: bfin: add support disasm tracing
Diffstat (limited to 'sim/bfin')
-rw-r--r--sim/bfin/ChangeLog4
-rw-r--r--sim/bfin/interp.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index d4a4f2c..4f1f93d 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (step_once): Call TRACE_DISASM.
+
2016-01-04 Mike Frysinger <vapier@gentoo.org>
* bfin-sim.c (decode_dsp32shift_0): Change MIN to min.
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c
index accf5f3..ccd6a8a 100644
--- a/sim/bfin/interp.c
+++ b/sim/bfin/interp.c
@@ -606,6 +606,8 @@ step_once (SIM_CPU *cpu)
trace_prefix (sd, cpu, NULL_CIA, oldpc, TRACE_LINENUM_P (cpu),
NULL, 0, " "); /* Use a space for gcc warnings. */
+ TRACE_DISASM (cpu, oldpc);
+
/* Handle hardware single stepping when lower than EVT3, and when SYSCFG
has already had the SSSTEP bit enabled. */
ssstep = false;