qemu-e2k/gdbstub
Akihiko Odaki dbd6623ce7 gdbstub: Check if gdb_regs is NULL
cpu->gdb_regs may be NULL if no coprocessor is registered.

Fixes: 73c392c26b ("gdbstub: Replace gdb_regs with an array")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20231029145033.592566-17-alex.bennee@linaro.org>
Message-Id: <20231019101030.128431-2-akihiko.odaki@daynix.com>
Tested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2023-10-31 14:10:21 +00:00
..
gdbstub.c gdbstub: Check if gdb_regs is NULL 2023-10-31 14:10:21 +00:00
internals.h gdbstub: Remove gdb_has_xml variable 2023-10-11 08:46:33 +01:00
meson.build gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
system.c gdbstub: replace exit calls with proper shutdown for softmmu 2023-10-12 12:36:37 +10:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h
user-target.c accel/tcg: Replace CPUState.env_ptr with cpu_env() 2023-10-04 11:03:54 -07:00
user.c gdbstub: replace exit calls with proper shutdown for softmmu 2023-10-12 12:36:37 +10:00