mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
cpu: Introduce CPUClass::gdb_core_xml_file for GDB_CORE_XML
Replace the GDB_CORE_XML define in gdbstub.c with a CPUClass field. Use first_cpu for qSupported and qXfer:features:read: for now. Add a stub for xml_builtin. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
90431220be
commit
5b24c64188
7 changed files with 29 additions and 28 deletions
|
@ -8465,6 +8465,11 @@ static void ppc_cpu_class_init(ObjectClass *oc, void *data)
|
|||
#endif
|
||||
|
||||
cc->gdb_num_core_regs = 71;
|
||||
#if defined(TARGET_PPC64)
|
||||
cc->gdb_core_xml_file = "power64-core.xml";
|
||||
#else
|
||||
cc->gdb_core_xml_file = "power-core.xml";
|
||||
#endif
|
||||
}
|
||||
|
||||
static const TypeInfo ppc_cpu_type_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue