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:
fca7c5b
)
target-sh4: log instructions start in TCG code
author
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000
(20:39 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000
(20:39 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/translate.c
patch
|
blob
|
history
diff --git
a/target-sh4/translate.c
b/target-sh4/translate.c
index 65ea7f61c7f7c68720bd5a7f1698eb474259548b..b3cbe91d21848b459bb0e04fbf3af4f4851fad0a 100644
(file)
--- a/
target-sh4/translate.c
+++ b/
target-sh4/translate.c
@@
-1892,6
+1892,10
@@
static void decode_opc(DisasContext * ctx)
{
uint32_t old_flags = ctx->flags;
+ if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) {
+ tcg_gen_debug_insn_start(ctx->pc);
+ }
+
_decode_opc(ctx);
if (old_flags & (DELAY_SLOT | DELAY_SLOT_CONDITIONAL)) {