This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/4] sim: bfin: add support disasm tracing
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: nickc at redhat dot com
- Date: Wed, 30 Dec 2015 23:32:27 -0500
- Subject: [PATCH 3/4] sim: bfin: add support disasm tracing
- Authentication-results: sourceware.org; auth=none
- References: <1451536348-31380-1-git-send-email-vapier at gentoo dot org>
---
sim/bfin/interp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c
index 2da70b5..c71b0a2 100644
--- a/sim/bfin/interp.c
+++ b/sim/bfin/interp.c
@@ -620,6 +620,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.6.2