aboutsummaryrefslogtreecommitdiff
path: root/semihosting
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-10-29 14:50:30 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-10-31 14:10:21 +0000
commitdbd6623ce726878f4cbbad4a1af160fcd1d2fe7b (patch)
tree556ac1a901f3accceed1e506c9ee5bf19e81f163 /semihosting
parentaba77ac5dba609ccf17d2214a0f17b9a79cefad6 (diff)
downloadqemu-dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b.zip
qemu-dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b.tar.gz
qemu-dbd6623ce726878f4cbbad4a1af160fcd1d2fe7b.tar.bz2
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 'semihosting')
0 files changed, 0 insertions, 0 deletions