Skip to contentSkip to conversation

[4573] Nicer debug output

Qemu-devel Blue Swirl 1 participant 1 message May 25, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4573

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4573
Author:   blueswir1
Date:     2008-05-25 11:17:46 +0000 (Sun, 25 May 2008)

Log Message:
-----------
Nicer debug output

Modified Paths:
--------------
trunk/target-sparc/translate.c

Modified: trunk/target-sparc/translate.c
===================================================================

target-sparc/translate.c +2 -0
@@ -1830,6 +1830,8 @@
 {
     unsigned int insn, opc, rs1, rs2, rd;
 
+    if (unlikely(loglevel & CPU_LOG_TB_OP))
+        tcg_gen_debug_insn_start(dc->pc);
     insn = ldl_code(dc->pc);
     opc = GET_FIELD(insn, 0, 1);