mirror_qemu/target/xtensa
Thomas Huth 854e67fea6 monitor: Fix crashes when using HMP commands without CPU
When running certain HMP commands ("info registers", "info cpustats",
"info tlb", "nmi", "memsave" or dumping virtual memory) with the "none"
machine, QEMU crashes with a segmentation fault. This happens because the
"none" machine does not have any CPUs by default, but these HMP commands
did not check for a valid CPU pointer yet. Add such checks now, so we get
an error message about the missing CPU instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1484309555-1935-1-git-send-email-thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2017-02-21 18:29:01 +00:00
..
core-dc232b
core-dc233c
core-fsf
Makefile.objs
core-dc232b.c
core-dc233c.c
core-fsf.c
cpu-qom.h
cpu.c target-xtensa: implement RER/WER instructions 2017-01-16 19:19:03 -08:00
cpu.h target-xtensa: implement RER/WER instructions 2017-01-16 19:19:03 -08:00
gdbstub.c
helper.c target/xtensa: implement RUNSTALL 2017-01-15 13:01:55 -08:00
helper.h target/xtensa updates: 2017-01-25 16:36:57 +00:00
import_core.sh
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c target/xtensa updates: 2017-01-25 16:36:57 +00:00
overlay_tool.h target-xtensa: implement RER/WER instructions 2017-01-16 19:19:03 -08:00
translate.c target/xtensa updates: 2017-01-25 16:36:57 +00:00
xtensa-semi.c