OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7193b5f
)
target-unicore32: Call tcg_gen_debug_insn_start
author
Richard Henderson
<rth@twiddle.net>
Mon, 24 Sep 2012 21:55:50 +0000
(14:55 -0700)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 27 Sep 2012 19:44:28 +0000
(21:44 +0200)
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-unicore32/translate.c
patch
|
blob
|
history
diff --git
a/target-unicore32/translate.c
b/target-unicore32/translate.c
index
b786a6b
..
36f4f2f
100644
(file)
--- a/
target-unicore32/translate.c
+++ b/
target-unicore32/translate.c
@@
-1861,6
+1861,10
@@
static void disas_uc32_insn(CPUUniCore32State *env, DisasContext *s)
{
unsigned int insn;
+ if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
+ tcg_gen_debug_insn_start(s->pc);
+ }
+
insn = cpu_ldl_code(env, s->pc);
s->pc += 4;