diff options
author | 2023-10-29 14:50:30 +0000 | |
---|---|---|
committer | 2023-10-31 14:10:21 +0000 | |
commit | dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b (patch) | |
tree | 556ac1a901f3accceed1e506c9ee5bf19e81f163 /hw/core/machine-hmp-cmds.c | |
parent | tests/docker: upgrade debian-all-test-cross to bookworm (diff) | |
download | qemu-dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b.tar.xz qemu-dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b.zip |
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>
Diffstat (limited to 'hw/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions