projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdefe51
)
target-m68k: Call tcg_gen_debug_insn_start
author
Richard Henderson
<rth@twiddle.net>
Mon, 24 Sep 2012 21:55:48 +0000
(14:55 -0700)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 27 Sep 2012 19:38:50 +0000
(21:38 +0200)
Cc: Paul Brook <paul@codesourcery.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-m68k/translate.c
patch
|
blob
|
history
diff --git
a/target-m68k/translate.c
b/target-m68k/translate.c
index fb707f21bcb331ba55023c529c46e15a57a6f28f..451ef7410f412fbdd755a53cadd974fb47a44672 100644
(file)
--- a/
target-m68k/translate.c
+++ b/
target-m68k/translate.c
@@
-2953,6
+2953,10
@@
static void disas_m68k_insn(CPUM68KState * env, DisasContext *s)
{
uint16_t insn;
+ if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
+ tcg_gen_debug_insn_start(s->pc);
+ }
+
insn = cpu_lduw_code(env, s->pc);
s->pc += 2;