On 17/3/25 15:28, Peter Maydell wrote:
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.mayd...@linaro.org>
---
target/arm/cpu64.c | 5 -----
target/arm/gdbstub.c | 12 ++++++++++++
2 files changed, 12 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>