OSDN Git Service

target/sparc: Remove DEBUG_UNALIGNED
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 23 Jul 2021 22:47:17 +0000 (12:47 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 11:00:52 +0000 (07:00 -0400)
commit9852112ee44fbf4cdfcd8e911d3d9aac1cb59b30
tree17db708e2d57085aa68c2850f1ae350ea7215a56
parent0ee0942a7815ac275eba580d7fef812d9a7d2759
target/sparc: Remove DEBUG_UNALIGNED

The printf should have been qemu_log_mask, the parameters
themselves no longer compile, and because this is placed
before unwinding the PC is actively wrong.

We get better (and correct) logging on the other side of
raising the exception, in sparc_cpu_do_interrupt.

Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/ldst_helper.c