]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: Fix target_xml initialization
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Mon, 9 Oct 2023 16:40:47 +0000 (17:40 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 11 Oct 2023 07:46:33 +0000 (08:46 +0100)
commitaf2e06c9f122a3bb83d11df85d21257808c414cb
tree20a614a95c70b3e2c2cad1e64a3657d3567cf3c0
parente0f8951235b991eaa7a0e617976848b88d84c360
gdbstub: Fix target_xml initialization

target_xml is no longer a fixed-length array but a pointer to a
variable-length memory.

Fixes: 56e534bd11 ("gdbstub: refactor get_feature_xml")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230912224107.29669-2-akihiko.odaki@daynix.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231009164104.369749-9-alex.bennee@linaro.org>
gdbstub/system.c