OSDN Git Service

qemu-system-tricore: segfault when entering "x 0" on the monitor
authorEduardo Otubo <otubo@redhat.com>
Thu, 27 Jul 2017 14:30:40 +0000 (16:30 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 31 Jul 2017 10:06:38 +0000 (13:06 +0300)
commitb190f477e29c7cd03a8fee49c96d27f160e3f5b0
treee503d53343c719a8b9721c79ee06eea5a60a0f39
parent7a0b7eba4b577bceb8aa795ae46d9812e2d6f4ca
qemu-system-tricore: segfault when entering "x 0" on the monitor

Starting Qemu with "qemu-system-tricore -nographic -M tricore_testboard -S"
and entering "x 0" at the monitor prompt leads to Segmentation fault.
This happens because tricore_cpu_get_phys_page_debug() is not implemented
yet, this is a temporary workaround to avoid the crash.

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/tricore/cpu.c