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
F150993532: D15190.id.diff
Sun, Apr 5, 8:47 AM
F150950624: D15190.id41828.diff
Sun, Apr 5, 3:51 AM
Unknown Object (File)
Sat, Mar 21, 7:58 PM
Unknown Object (File)
Sun, Mar 15, 7:20 AM
Unknown Object (File)
Mar 5 2026, 8:44 AM
Unknown Object (File)
Feb 27 2026, 11:51 PM
Unknown Object (File)
Feb 27 2026, 4:55 PM
Unknown Object (File)
Feb 27 2026, 11:24 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