aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-09-29 09:03:16 -0400
committerLaurent Vivier <laurent@vivier.eu>2021-10-04 09:47:26 +0200
commit196fb7ac7cb83f3b5547435f3b1d8b5bfaca35fb (patch)
treee4092971c2d5baf7dfcbed7b68daeba2e5e104ff
parent848dd26928e2f4ceb63d7de06dd0b5f5b55bbddd (diff)
downloadqemu-196fb7ac7cb83f3b5547435f3b1d8b5bfaca35fb.zip
qemu-196fb7ac7cb83f3b5547435f3b1d8b5bfaca35fb.tar.gz
qemu-196fb7ac7cb83f3b5547435f3b1d8b5bfaca35fb.tar.bz2
target/sh4: Use lookup_symbol in sh4_tr_disas_log
The correct thing to do has been present but commented out since the initial commit of the sh4 translator. Fixes: fdf9b3e831e Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210929130316.121330-1-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--target/sh4/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index cf5fe92..d363050 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -2344,7 +2344,7 @@ static void sh4_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
static void sh4_tr_disas_log(const DisasContextBase *dcbase, CPUState *cs)
{
- qemu_log("IN:\n"); /* , lookup_symbol(dcbase->pc_first)); */
+ qemu_log("IN: %s\n", lookup_symbol(dcbase->pc_first));
log_target_disas(cs, dcbase->pc_first, dcbase->tb->size);
}