diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-07 15:08:22 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-07-27 00:04:17 +0200 |
commit | 5b24c64188b8253e2f004191c7e8d4a799f90eaa (patch) | |
tree | b1627f8c9f96b3d2f8fb6bd154b6c84a82648ea3 /include/qom | |
parent | 90431220be42d773084d88635961a45febb01c5d (diff) | |
download | qemu-5b24c64188b8253e2f004191c7e8d4a799f90eaa.zip qemu-5b24c64188b8253e2f004191c7e8d4a799f90eaa.tar.gz qemu-5b24c64188b8253e2f004191c7e8d4a799f90eaa.tar.bz2 |
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>
Diffstat (limited to 'include/qom')
-rw-r--r-- | include/qom/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h index c001474..0d6e95c 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -84,6 +84,7 @@ struct TranslationBlock; * @gdb_write_register: Callback for letting GDB write a register. * @vmsd: State description for migration. * @gdb_num_core_regs: Number of core registers accessible to GDB. + * @gdb_core_xml_file: File name for core registers GDB XML description. * * Represents a CPU family or model. */ @@ -125,6 +126,7 @@ typedef struct CPUClass { const struct VMStateDescription *vmsd; int gdb_num_core_regs; + const char *gdb_core_xml_file; } CPUClass; struct KVMState; |