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
F155031339: D15190.diff
Thu, Apr 30, 7:39 PM
Unknown Object (File)
Wed, Apr 29, 10:36 AM
Unknown Object (File)
Wed, Apr 29, 10:30 AM
Unknown Object (File)
Tue, Apr 28, 10:23 PM
Unknown Object (File)
Tue, Apr 28, 10:15 PM
Unknown Object (File)
Mon, Apr 27, 10:37 AM
Unknown Object (File)
Sun, Apr 26, 11:11 PM
Unknown Object (File)
Sun, Apr 26, 1:12 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