HomeFreeBSD

arm64: Return all registers to gdb when able

Description

arm64: Return all registers to gdb when able

When the kdb thread is the current thread we read the registers from
the trap frame. As this contains all general purpose registers we can
use it to read these in the gdb stub. This allows us to include the
non-callee saved registers, e.g. function arguments.

Reviewed by: imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D44360

(cherry picked from commit 0a5f7918fc0e274a904b8fdd7c167bea7cdaf0f4)

Details

Provenance
andrewAuthored on Mar 14 2024, 5:31 PM
Reviewer
imp
Differential Revision
D44360: arm64: Return all registers to gdb when able
Parents
rGcf99898c4e87: arm64: Rename drop_to_el1 to enter_kernel_el
Branches
Unknown
Tags
Unknown