aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/cpu_loop.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-08-13 14:18:03 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-09-23 14:42:55 +0200
commit1fb6a87d0bc3a730ec90578cfdfb2ef7ac5b5d11 (patch)
tree854fa4b1c2e9ae0b7d9f91895abb8167fdb16f88 /linux-user/arm/cpu_loop.c
parent2c3e83f92d93fbab071b8a96b8ab769b01902475 (diff)
downloadqemu-1fb6a87d0bc3a730ec90578cfdfb2ef7ac5b5d11.zip
qemu-1fb6a87d0bc3a730ec90578cfdfb2ef7ac5b5d11.tar.gz
qemu-1fb6a87d0bc3a730ec90578cfdfb2ef7ac5b5d11.tar.bz2
linux-user/aarch64: Set siginfo_t addr field for SIGTRAP signals
When generating a TRAP_BRKPT SIGTRAP, set the siginfo_t addr field to the PC where the breakpoint/singlestep trap occurred; this is what the kernel does for this signal for this architecture. Fixes: Coverity 1459154 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210813131809.28655-2-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/arm/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions