]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Handle gdb_core_xml_file in TYPE_ARM_CPU
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2025 14:28:14 +0000 (14:28 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 25 Apr 2025 15:00:42 +0000 (17:00 +0200)
commit984ea94818000618c4ff95d0b63f63aba8f2a95e
treec98ad3c4573403249bf2349b65d1a2dff9f63fd0
parentbae9fb4b016b1927f6e0cdea9213e33e3a70c9ae
target/arm: Handle gdb_core_xml_file in TYPE_ARM_CPU

Instead of having the TYPE_AARCH64_CPU subclass set
CPUClass:gdb_core_xml_file to a different value from that that
TYPE_ARM_CPU uses, implement the gdb_get_core_xml_file method in the
TYPE_ARM_CPU class to return either the AArch64 or AArch32 XML file
name.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250317142819.900029-5-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/arm/cpu.c
target/arm/cpu64.c
target/arm/tcg/cpu-v7m.c