aboutsummaryrefslogtreecommitdiff
path: root/target-cris/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-04-20 11:39:35 -0700
committerRichard Henderson <rth@twiddle.net>2016-06-05 09:26:24 -0700
commit4910e6e42e5827ccc10791eef8bc98e1cb3e1adf (patch)
tree7f8ddee9e0a7176d4bbdae29a62e0d8d5e18a785 /target-cris/translate.c
parent6b3532b20b787cbd697a68b383232f5c3b39bd1e (diff)
downloadqemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.zip
qemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.tar.gz
qemu-4910e6e42e5827ccc10791eef8bc98e1cb3e1adf.tar.bz2
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-cris/translate.c')
-rw-r--r--target-cris/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 2153ea7..cc51569 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -3311,7 +3311,8 @@ void gen_intermediate_code(CPUCRISState *env, struct TranslationBlock *tb)
#ifdef DEBUG_DISAS
#if !DISAS_CRIS
- 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)) {
log_target_disas(cs, pc_start, dc->pc - pc_start,
env->pregs[PR_VR]);
qemu_log("\nisize=%d osize=%d\n",