cpu: Move breakpoints field from CPU_COMMON to CPUState
authorAndreas Färber <afaerber@suse.de>
Mon, 26 Aug 2013 19:22:53 +0000 (21:22 +0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 18:20:47 +0000 (19:20 +0100)
commitf0c3c505a8ec1a948006b3a16a35864a2270a84b
tree063bbde0e88746c0add37f139990c60369fb1aca
parentff4700b05cfb305a880762c288b88ca01c782352
cpu: Move breakpoints field from CPU_COMMON to CPUState

Most targets were using offsetof(CPUFooState, breakpoints) to determine
how much of CPUFooState to clear on reset. Use the next field after
CPU_COMMON instead, if any, or sizeof(CPUFooState) otherwise.

Signed-off-by: Andreas Färber <afaerber@suse.de>
43 files changed:
exec.c
include/exec/cpu-defs.h
include/qom/cpu.h
linux-user/main.c
target-alpha/translate.c
target-arm/cpu.c
target-arm/translate-a64.c
target-arm/translate.c
target-cris/cpu.c
target-cris/cpu.h
target-cris/translate.c
target-i386/cpu.c
target-i386/cpu.h
target-i386/helper.c
target-i386/translate.c
target-lm32/cpu.c
target-lm32/cpu.h
target-lm32/helper.c
target-lm32/translate.c
target-m68k/cpu.c
target-m68k/cpu.h
target-m68k/translate.c
target-microblaze/cpu.c
target-microblaze/translate.c
target-mips/cpu.c
target-mips/cpu.h
target-mips/translate.c
target-moxie/cpu.c
target-moxie/translate.c
target-openrisc/cpu.c
target-openrisc/cpu.h
target-openrisc/translate.c
target-ppc/translate.c
target-s390x/cpu.c
target-s390x/translate.c
target-sh4/cpu.c
target-sh4/cpu.h
target-sh4/translate.c
target-sparc/cpu.c
target-sparc/cpu.h
target-sparc/translate.c
target-unicore32/translate.c
target-xtensa/translate.c