HomeFreeBSD

Fix the signal code on 32-bit breakpoints on arm64

Description

Fix the signal code on 32-bit breakpoints on arm64

When debugging 32-bit programs a debugger may insert a instruction that
will raise the undefined instruction trap. The kernel handles these
by raising a SIGTRAP, however the code was incorrect.

Fix this by using the expected TRAP_BRKPT signal code.

Sponsored by: The FreeBSD Foundation

Details

Provenance
andrewAuthored on Feb 7 2022, 11:47 AM
Parents
rGa9696510f5ca: tcp: Add hystart++ to our cubic implementation.
Branches
Unknown
Tags
Unknown