summaryrefslogtreecommitdiffstats
path: root/target-sh4
diff options
context:
space:
mode:
authorRichard Henderson2016-04-20 20:39:35 +0200
committerRichard Henderson2016-06-05 18:26:24 +0200
commit4910e6e42e5827ccc10791eef8bc98e1cb3e1adf (patch)
tree7f8ddee9e0a7176d4bbdae29a62e0d8d5e18a785 /target-sh4
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160603-1' into st... (diff)
downloadqemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.tar.gz
qemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.tar.xz
qemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.zip
target-*: dfilter support for in_asm
The arm target was handled by 06486077, but other targets were ignored. This handles all the rest which actually support disassembly (that is, skipping moxie and tilegx). Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index ff5222b04e..7518eb5508 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -1924,7 +1924,8 @@ void gen_intermediate_code(CPUSH4State * env, struct TranslationBlock *tb)
tb->icount = num_insns;
#ifdef DEBUG_DISAS
- if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) {
+ if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)
+ && qemu_log_in_addr_range(pc_start)) {
qemu_log("IN:\n"); /* , lookup_symbol(pc_start)); */
log_target_disas(cs, pc_start, ctx.pc - pc_start, 0);
qemu_log("\n");