aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-06-06 12:04:59 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-06-06 12:04:59 +0100
commitb0491a1a17de0a32e2bc6a5ab2d79a657f8cb53e (patch)
treebf1caa4d3fae9312caee3d2062e0cc9de4a0d210 /target-sparc
parent5819e3e072f41cbf81ad80d822a5c468a91f54e0 (diff)
parent4910e6e42e5827ccc10791eef8bc98e1cb3e1adf (diff)
downloadqemu-b0491a1a17de0a32e2bc6a5ab2d79a657f8cb53e.zip
qemu-b0491a1a17de0a32e2bc6a5ab2d79a657f8cb53e.tar.gz
qemu-b0491a1a17de0a32e2bc6a5ab2d79a657f8cb53e.tar.bz2
Merge remote-tracking branch 'remotes/rth/tags/pull-tgt-20160605' into staging
Check address ranges for disassembly # gpg: Signature made Sun 05 Jun 2016 17:30:28 BST # gpg: using RSA key 0xAD1270CC4DD0279B # gpg: Good signature from "Richard Henderson <rth7680@gmail.com>" # gpg: aka "Richard Henderson <rth@redhat.com>" # gpg: aka "Richard Henderson <rth@twiddle.net>" * remotes/rth/tags/pull-tgt-20160605: target-*: dfilter support for in_asm Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 21760b9..afd306f 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -5330,7 +5330,8 @@ void gen_intermediate_code(CPUSPARCState * env, 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("--------------\n");
qemu_log("IN: %s\n", lookup_symbol(pc_start));
log_target_disas(cs, pc_start, last_pc + 4 - pc_start, 0);