diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-25 11:17:46 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-25 11:17:46 +0000 |
commit | a8c768c0691f713801aa3d1f08fe9b2d70f12a36 (patch) | |
tree | 7f7f490fd58cad6089829325f24443101e90f5e4 /target-sparc | |
parent | 4a32674f8e2781092d5fc02494ebfebf17d75606 (diff) | |
download | hqemu-a8c768c0691f713801aa3d1f08fe9b2d70f12a36.zip hqemu-a8c768c0691f713801aa3d1f08fe9b2d70f12a36.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 36381c4..a1dcb42 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); |