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)
Mon, Jun 15, 7:46 PM
Unknown Object (File)
Mon, Jun 15, 6:33 PM
Unknown Object (File)
May 22 2026, 8:08 PM
Unknown Object (File)
May 22 2026, 8:08 PM
Unknown Object (File)
May 20 2026, 12:30 PM
Unknown Object (File)
May 20 2026, 10:37 AM
Unknown Object (File)
May 11 2026, 6:30 PM
Unknown Object (File)
May 11 2026, 4:49 PM
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