HomeFreeBSD

Read the breakpoint instruction to determine its length in BKPT_SKIP.

Description

Read the breakpoint instruction to determine its length in BKPT_SKIP.

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.

Reviewed by: br
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23507

Details

Provenance
jhbAuthored on
Reviewer
br
Differential Revision
D23507: Read the breakpoint instruction to determine its length in BKPT_SKIP.
Parents
rS357590: [PowerPC] [DTrace] Add ELFv2 support in libdtrace
Branches
Unknown
Tags
Unknown