summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson2016-07-13 08:39:16 +0200
committerRichard Henderson2016-09-16 17:12:11 +0200
commitbe2208e2a50f4b50980d92c26f2e12cb2bda4afc (patch)
tree63b98da6a1423a36b64dec2c515b1a6ba36b21b9
parenttcg: Merge GETPC and GETRA (diff)
downloadqemu-be2208e2a50f4b50980d92c26f2e12cb2bda4afc.tar.gz
qemu-be2208e2a50f4b50980d92c26f2e12cb2bda4afc.tar.xz
qemu-be2208e2a50f4b50980d92c26f2e12cb2bda4afc.zip
cpu-exec: Check -dfilter for -d cpu
Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--cpu-exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index b240b9fa45..9f4bd0b6dd 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -147,7 +147,8 @@ static inline tcg_target_ulong cpu_tb_exec(CPUState *cpu, TranslationBlock *itb)
itb->tc_ptr, itb->pc, lookup_symbol(itb->pc));
#if defined(DEBUG_DISAS)
- if (qemu_loglevel_mask(CPU_LOG_TB_CPU)) {
+ if (qemu_loglevel_mask(CPU_LOG_TB_CPU)
+ && qemu_log_in_addr_range(itb->pc)) {
#if defined(TARGET_I386)
log_cpu_state(cpu, CPU_DUMP_CCOP);
#elif defined(TARGET_M68K)