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)
Fri, Aug 28, 5:48 PM
Unknown Object (File)
Fri, Aug 28, 1:46 PM
Unknown Object (File)
Wed, Aug 26, 1:57 PM
Unknown Object (File)
Wed, Aug 26, 12:54 PM
Unknown Object (File)
Mon, Aug 24, 1:58 AM
Unknown Object (File)
Wed, Aug 19, 8:05 PM
Unknown Object (File)
Mon, Aug 17, 9:02 PM
Unknown Object (File)
Mon, Aug 17, 9:00 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