summary refs log tree commit diff stats
path: root/target/sparc/cpu.c
diff options
context:
space:
mode:
authorRot127 <unisono@quyllur.org>2025-07-11 10:51:39 -0500
committerAlex Bennée <alex.bennee@linaro.org>2025-07-14 11:42:49 +0100
commit9152540f4ef3528ff003493cbe6a27b6c0f322e8 (patch)
tree1947f39b0010677a49b30e5181f9f1fb5518e10c /target/sparc/cpu.c
parent15f5acb8102c94d7a6aa79370fad776cf42b63d6 (diff)
downloadfocaccia-qemu-9152540f4ef3528ff003493cbe6a27b6c0f322e8.tar.gz
focaccia-qemu-9152540f4ef3528ff003493cbe6a27b6c0f322e8.zip
gdbstub: add the GDB register XML files for sparc64.
Signed-off-by: Rot127 <unisono@quyllur.org>
Message-ID: <20250711155141.62916-2-unisono@quyllur.org>
[AJB: clean up commit msg]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'target/sparc/cpu.c')
-rw-r--r--target/sparc/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index ed7701b02f..245caf2de0 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -1090,6 +1090,7 @@ static void sparc_cpu_class_init(ObjectClass *oc, const void *data)
     cc->disas_set_info = cpu_sparc_disas_set_info;
 
 #if defined(TARGET_SPARC64) && !defined(TARGET_ABI32)
+    cc->gdb_core_xml_file = "sparc64-core.xml";
     cc->gdb_num_core_regs = 86;
 #else
     cc->gdb_num_core_regs = 72;