Page MenuHomeFreeBSD

Report TRAP_BRKPT for breakpoint traps on sparc64.
ClosedPublic

Authored by jhb on Apr 25 2018, 2:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 9:21 PM
Unknown Object (File)
Thu, Nov 20, 9:21 PM
Unknown Object (File)
Thu, Nov 20, 9:20 PM
Unknown Object (File)
Thu, Nov 20, 9:13 PM
Unknown Object (File)
Fri, Nov 7, 4:14 PM
Unknown Object (File)
Thu, Nov 6, 11:00 PM
Unknown Object (File)
Mon, Oct 27, 11:40 PM
Unknown Object (File)
Oct 23 2025, 11:26 AM
Subscribers

Details

Test Plan
  • I have not tested this, but I believe sparc64 is the only remaining platform that was not reporting a proper si_code for debugging-related SIGTRAPs. Note that this only fixes SIGTRAP, it does not properly set si_code for other traps on sparc64.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable