summaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-25 11:17:46 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-25 11:17:46 +0000
commita8c768c0691f713801aa3d1f08fe9b2d70f12a36 (patch)
tree7f7f490fd58cad6089829325f24443101e90f5e4 /target-sparc
parent4a32674f8e2781092d5fc02494ebfebf17d75606 (diff)
downloadqemu-a8c768c0691f713801aa3d1f08fe9b2d70f12a36.zip
Nicer debug output
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4573 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 36381c413a..a1dcb42310 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -1830,6 +1830,8 @@ static void disas_sparc_insn(DisasContext * dc)
{
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);