Commit a8c768c0691f713801aa3d1f08fe9b2d70f12a36
1 parent
4a32674f
Nicer debug output
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4573 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
target-sparc/translate.c
... | ... | @@ -1830,6 +1830,8 @@ static void disas_sparc_insn(DisasContext * dc) |
1830 | 1830 | { |
1831 | 1831 | unsigned int insn, opc, rs1, rs2, rd; |
1832 | 1832 | |
1833 | + if (unlikely(loglevel & CPU_LOG_TB_OP)) | |
1834 | + tcg_gen_debug_insn_start(dc->pc); | |
1833 | 1835 | insn = ldl_code(dc->pc); |
1834 | 1836 | opc = GET_FIELD(insn, 0, 1); |
1835 | 1837 | ... | ... |