Skip to content

Commit 196fb7a

Browse files
rth7680vivier
authored andcommitted
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: fdf9b3e Signed-off-by: Richard Henderson <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
1 parent 848dd26 commit 196fb7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target/sh4/translate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2344,7 +2344,7 @@ static void sh4_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
23442344

23452345
static void sh4_tr_disas_log(const DisasContextBase *dcbase, CPUState *cs)
23462346
{
2347-
qemu_log("IN:\n"); /* , lookup_symbol(dcbase->pc_first)); */
2347+
qemu_log("IN: %s\n", lookup_symbol(dcbase->pc_first));
23482348
log_target_disas(cs, dcbase->pc_first, dcbase->tb->size);
23492349
}
23502350

0 commit comments

Comments
 (0)