sim: bfin: add support disasm tracing
authorMike Frysinger <vapier@gentoo.org>
Thu, 31 Dec 2015 04:20:23 +0000 (23:20 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2016 19:37:45 +0000 (14:37 -0500)
sim/bfin/ChangeLog
sim/bfin/interp.c

index d4a4f2c..4f1f93d 100644 (file)
@@ -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.
index accf5f3..ccd6a8a 100644 (file)
@@ -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;