]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Assert thumb pc is aligned
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Nov 2021 04:03:50 +0000 (00:03 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
commit7055fe4baf4d8b331863e51a15e93d3bdea29e36
treedffae3f23b9b544e17ff2edc57b50d7d6b527376
parentee03027a2cef00f977a3d28242c0a250b8552495
target/arm: Assert thumb pc is aligned

Misaligned thumb PC is architecturally impossible.
Assert is better than proceeding, in case we've missed
something somewhere.

Expand a comment about aligning the pc in gdbstub.
Fail an incoming migrate if a thumb pc is misaligned.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/gdbstub.c
target/arm/machine.c
target/arm/translate.c