HomeFreeBSD

MFC 332908: Add two tests for TRAP_* signal codes for SIGTRAP.

Description

MFC 332908: Add two tests for TRAP_* signal codes for SIGTRAP.

  • ptrace__breakpoint_siginfo tests that a SIGTRAP for a software breakpoint in userland triggers a SIGTRAP with a signal code of TRAP_BRKPT.
  • ptrace__step_siginfo tests that a SIGTRAP reported for a step after stepping via PT_STEP or PT_SETSTEP has a signal code of TRAP_TRACE.

Details

Provenance
jhbAuthored on
Parents
rS338515: MFC 332909: Report proper signal codes for SIGTRAP traps on MIPS.
Branches
Unknown
Tags
Unknown