From 824c862804128f6d31ae5f80fb741d12419da943 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 30 Dec 2015 23:20:23 -0500 Subject: [PATCH] sim: bfin: add support disasm tracing --- sim/bfin/ChangeLog | 4 ++++ sim/bfin/interp.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index d4a4f2c1f2a..4f1f93debc4 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2016-01-05 Mike Frysinger + + * interp.c (step_once): Call TRACE_DISASM. + 2016-01-04 Mike Frysinger * bfin-sim.c (decode_dsp32shift_0): Change MIN to min. diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index accf5f33fc6..ccd6a8a8c79 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; -- 2.30.2