Received: from eggs.gnu.org ([2001:4830:134:3::10]:54197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjar1-0006BQ-Dy for qemu-devel@nongnu.org; Mon, 12 Sep 2016 19:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjaqx-0001TC-EP for qemu-devel@nongnu.org; Mon, 12 Sep 2016 19:41:35 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:35388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjaqx-0001ST-9X for qemu-devel@nongnu.org; Mon, 12 Sep 2016 19:41:31 -0400 Received: by mail-yw0-f195.google.com with SMTP id u82so3886469ywc.2 for ; Mon, 12 Sep 2016 16:41:31 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 12 Sep 2016 16:39:37 -0700 Message-Id: <1473723592-524-4-git-send-email-rth@twiddle.net> In-Reply-To: <1473723592-524-1-git-send-email-rth@twiddle.net> References: <1473723592-524-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL v3 03/18] cpu-exec: Check -dfilter for -d cpu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Signed-off-by: Richard Henderson --- cpu-exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpu-exec.c b/cpu-exec.c index 5d9710a..e7f851c 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) -- 2.7.4