]> git.proxmox.com Git - qemu.git/blobdiff - target-openrisc/cpu.c
cpu: Introduce CPUState::gdb_num_regs and CPUClass::gdb_num_core_regs
[qemu.git] / target-openrisc / cpu.c
index 7718820eccb09d95ebe8e7778b8370603f667ee9..9b042e14b0053e315c2279947368145959e3f355 100644 (file)
@@ -159,6 +159,7 @@ static void openrisc_cpu_class_init(ObjectClass *oc, void *data)
     cc->get_phys_page_debug = openrisc_cpu_get_phys_page_debug;
     dc->vmsd = &vmstate_openrisc_cpu;
 #endif
+    cc->gdb_num_core_regs = 32 + 3;
 }
 
 static void cpu_register(const OpenRISCCPUInfo *info)