]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: Handle 32bits breakpoint exception.
authorOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 13:49:45 +0000 (15:49 +0200)
committerOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 13:52:42 +0000 (15:52 +0200)
commit2734050154927eaa63d3b65de5d46d05569b3a5b
tree28a94b4fc8611e95438408bef9e485c641399a00
parent5a619ca07a2d6614b7b4ecbb7078d0949702dcd2
arm64: Handle 32bits breakpoint exception.

A different exception is raised when we hit a 32bits breakpoint, rather than
a 64bits one, so handle those as well when COMPAT_FREEBSD32 is defined.
This should fix SIGBUS at least when using breakpoints with thumb2 code.

PR: 256468
MFC After: 1 week
sys/arm64/arm64/trap.c
sys/arm64/include/armreg.h