]> git.proxmox.com Git - qemu.git/commit
cpu: Introduce CPUState::gdb_num_regs and CPUClass::gdb_num_core_regs
authorAndreas Färber <afaerber@suse.de>
Fri, 28 Jun 2013 21:18:47 +0000 (23:18 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 26 Jul 2013 21:23:54 +0000 (23:23 +0200)
commita0e372f0c49ac01faeaeb73a6e8f50e8ac615f34
tree0a87f5f9ab3ff51ef996c69ded7cfa8f97768e92
parent19a77215f1ba966c4d37dadec45f38be789b8529
cpu: Introduce CPUState::gdb_num_regs and CPUClass::gdb_num_core_regs

CPUState::gdb_num_regs replaces num_g_regs.
CPUClass::gdb_num_core_regs replaces NUM_CORE_REGS.

Allows building gdb_register_coprocessor() for xtensa, too.

As a side effect this should fix coprocessor register numbering for SMP.

Acked-by: Michael Walle <michael@walle.cc> (for lm32)
Acked-by: Max Filippov <jcmvbkbc@gmail.com> (for xtensa)
Signed-off-by: Andreas Färber <afaerber@suse.de>
18 files changed:
gdbstub.c
include/qom/cpu.h
qom/cpu.c
target-alpha/cpu.c
target-arm/cpu.c
target-cris/cpu.c
target-i386/cpu.c
target-lm32/cpu.c
target-m68k/cpu.c
target-microblaze/cpu.c
target-mips/cpu.c
target-openrisc/cpu.c
target-ppc/translate_init.c
target-s390x/cpu.c
target-sh4/cpu.c
target-sparc/cpu.c
target-xtensa/cpu.c
target-xtensa/helper.c