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)
Tue, Oct 6, 3:42 AM
Unknown Object (File)
Thu, Sep 24, 10:30 PM
Unknown Object (File)
Thu, Sep 24, 9:45 PM
Unknown Object (File)
Thu, Sep 24, 7:54 PM
Unknown Object (File)
Aug 28 2026, 5:48 PM
Unknown Object (File)
Aug 28 2026, 1:46 PM
Unknown Object (File)
Aug 26 2026, 1:57 PM
Unknown Object (File)
Aug 26 2026, 12:54 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