mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 18:25:47 +08:00
target/ppc: Fix CPUClass::gdb_num_core_regs value
Only 70 registers are exposed from GDB XML file (for either 32 / 64-bit variants). Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-8-philmd@linaro.org>
This commit is contained in:
1 parent
c60750fe5e
commit
1ec0fbe2dd
1 file changed
+1
-1
@@ -7553,7 +7553,7 @@ static void ppc_cpu_class_init(ObjectClass *oc, const void *data)
|
||||
PAGE_WRITE == 2 && PAGE_EXEC == 4);
|
||||
#endif
|
||||
|
||||
cc->gdb_num_core_regs = 71;
|
||||
cc->gdb_num_core_regs = 70;
|
||||
#ifdef USE_APPLE_GDB
|
||||
cc->gdb_read_register = ppc_cpu_gdb_read_register_apple;
|
||||
cc->gdb_write_register = ppc_cpu_gdb_write_register_apple;
|
||||
|
||||
Reference in new issue
Block a user