]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/i386/cpu.c
gdbstub: Fix i386/x86_64 machine description and add control registers
[mirror_qemu.git] / target / i386 / cpu.c
index 6f3b841723b36e7d9c9a39ccabab3321590c18ce..b0771966111b62642e98c2d7ef89b9c673854e37 100644 (file)
@@ -5870,10 +5870,10 @@ static void x86_cpu_common_class_init(ObjectClass *oc, void *data)
     cc->gdb_arch_name = x86_gdb_arch_name;
 #ifdef TARGET_X86_64
     cc->gdb_core_xml_file = "i386-64bit.xml";
-    cc->gdb_num_core_regs = 57;
+    cc->gdb_num_core_regs = 66;
 #else
     cc->gdb_core_xml_file = "i386-32bit.xml";
-    cc->gdb_num_core_regs = 41;
+    cc->gdb_num_core_regs = 50;
 #endif
 #if defined(CONFIG_TCG) && !defined(CONFIG_USER_ONLY)
     cc->debug_excp_handler = breakpoint_handler;