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

Instead of having the TYPE_AARCH64_CPU subclass set
CPUClass::gdb_read_register and ::gdb_write_register to different
methods from those of the TYPE_ARM_CPU parent class, have the
TYPE_ARM_CPU methods handle either AArch32 or AArch64 at runtime.

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