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
MFC after: 5 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D28942

Details

Provenance
mhorneAuthored on Mar 1 2021, 2:01 PM
Reviewer
markj
Differential Revision
D28942: arm64: add definition for IS_SSTEP_TRAP()
Parents
rGbd0b7cbf5ac1: arm64: update kdb_thrctx->pcb_lr with BKPT_SKIP
Branches
Unknown
Tags
Unknown