This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] sim: bfin: add support disasm tracing


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=824c862804128f6d31ae5f80fb741d12419da943

commit 824c862804128f6d31ae5f80fb741d12419da943
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Dec 30 23:20:23 2015 -0500

    sim: bfin: add support disasm tracing

Diff:
---
 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 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]