]> git.proxmox.com Git - qemu.git/blobdiff - target-lm32/cpu.c
cpu: Introduce CPUState::gdb_num_regs and CPUClass::gdb_num_core_regs
[qemu.git] / target-lm32 / cpu.c
index ce55e4807d8e846374f1bef9a43374e1df0cdc49..aa52696cda653530c4297f46b7440428c7a51dab 100644 (file)
@@ -91,6 +91,7 @@ static void lm32_cpu_class_init(ObjectClass *oc, void *data)
     cc->get_phys_page_debug = lm32_cpu_get_phys_page_debug;
     cc->vmsd = &vmstate_lm32_cpu;
 #endif
+    cc->gdb_num_core_regs = 32 + 7;
 }
 
 static const TypeInfo lm32_cpu_type_info = {