Skip to content
Snippets Groups Projects
Commit ad4052f1 authored by Ilya Leoshkevich's avatar Ilya Leoshkevich Committed by Laurent Vivier
Browse files

target/sh4: Honor QEMU_LOG_FILENAME with QEMU_LOG=cpu


When using QEMU_LOG=cpu on sh4, QEMU_LOG_FILENAME is partially ignored.
Fix by using qemu_fprintf() instead of qemu_printf() in the respective
places.

Fixes: 90c84c56 ("qom/cpu: Simplify how CPUClass:cpu_dump_state() prints")
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: default avatarIlya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230316003411.129462-1-iii@linux.ibm.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent afa55c6e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment