]> git.proxmox.com Git - qemu.git/blobdiff - target-i386/cpu.c
cpu: Introduce CPUClass::gdb_{read,write}_register()
[qemu.git] / target-i386 / cpu.c
index df9832e1519b8468cba0b2c94def0897f958858a..2b59b7d7ef381e0fe1fe3523ab7c382974433098 100644 (file)
@@ -2538,6 +2538,8 @@ static void x86_cpu_common_class_init(ObjectClass *oc, void *data)
     cc->dump_state = x86_cpu_dump_state;
     cc->set_pc = x86_cpu_set_pc;
     cc->synchronize_from_tb = x86_cpu_synchronize_from_tb;
+    cc->gdb_read_register = x86_cpu_gdb_read_register;
+    cc->gdb_write_register = x86_cpu_gdb_write_register;
     cc->get_arch_id = x86_cpu_get_arch_id;
     cc->get_paging_enabled = x86_cpu_get_paging_enabled;
 #ifndef CONFIG_USER_ONLY