HomeFreeBSD

arm64: add definition for IS_SSTEP_TRAP()

Description

arm64: add definition for IS_SSTEP_TRAP()

arm64 has a distinct exception code for single-step, so we can use this
to detect when an unexpected SS trap is encountered, or when an expected
one is not. See db_stop_at_pc().

Reviewed by: markj, jhb
Sponsored by: The FreeBSD Foundation

(cherry picked from commit e152c882738ffe26a2f52e420e2a92c014943207)

Details

Provenance
mhorneAuthored on Mar 1 2021, 2:01 PM
Parents
rG46810641e879: arm64: update kdb_thrctx->pcb_lr with BKPT_SKIP
Branches
Unknown
Tags
Unknown