Page MenuHomeFreeBSD

Read the breakpoint instruction to determine its length in BKPT_SKIP.
ClosedPublic

Authored by jhb on Feb 4 2020, 11:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 5:25 PM
Unknown Object (File)
Mon, Nov 24, 1:03 AM
Unknown Object (File)
Thu, Nov 20, 8:48 AM
Unknown Object (File)
Thu, Nov 20, 3:15 AM
Unknown Object (File)
Nov 8 2025, 5:51 PM
Unknown Object (File)
Nov 4 2025, 5:50 PM
Unknown Object (File)
Nov 4 2025, 5:47 PM
Unknown Object (File)
Nov 4 2025, 5:46 PM
Subscribers

Details

Summary

This fixes continuing from debug.kdb.enter=1 after enabling the use
of compressed instructions since the compiler can emit the two byte
c.ebreak instead of the 4 byte ebreak.

Test Plan
  • sysctl debug.kdb.enter and then 'c' to continue

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable