From 5b24c64188b8253e2f004191c7e8d4a799f90eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 7 Jul 2013 15:08:22 +0200 Subject: cpu: Introduce CPUClass::gdb_core_xml_file for GDB_CORE_XML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target-m68k/cpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target-m68k') diff --git a/target-m68k/cpu.c b/target-m68k/cpu.c index 01a70f194d..c0bcb0dbce 100644 --- a/target-m68k/cpu.c +++ b/target-m68k/cpu.c @@ -197,6 +197,7 @@ static void m68k_cpu_class_init(ObjectClass *c, void *data) #endif dc->vmsd = &vmstate_m68k_cpu; cc->gdb_num_core_regs = 18; + cc->gdb_core_xml_file = "cf-core.xml"; } static void register_cpu_type(const M68kCPUInfo *info) -- cgit v1.2.1