summary refs log tree commit diff stats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-03-17 14:28:13 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:00:41 +0200
commitbae9fb4b016b1927f6e0cdea9213e33e3a70c9ae (patch)
tree1f95d6591a438377131305511efd0c2748eed7ad /hw/core/loader.c
parenta1f728ecc90cf6c6db24df53cc951713fca8b94d (diff)
downloadfocaccia-qemu-bae9fb4b016b1927f6e0cdea9213e33e3a70c9ae.tar.gz
focaccia-qemu-bae9fb4b016b1927f6e0cdea9213e33e3a70c9ae.zip
target/arm: Handle AArch64 in TYPE_ARM_CPU gdb_arch_name
Instead of having the TYPE_AARCH64_CPU subclass set
CPUClass::gdb_arch_name to a different function, make the
TYPE_ARM_CPU implementation of the method handle AArch64.

For the moment we make the "is this AArch64?" function test "is the
CPU of TYPE_AARCH64_CPU?", so that this produces no behavioural
change.  When we've moved all the gdbstub related methods across to
the base class, we will be able to change this to be "does the CPU
have the ARM_FEATURE_AARCH64 feature?".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250317142819.900029-4-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions