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

Details

Provenance
andrewAuthored on Mar 14 2024, 5:31 PM
Reviewer
imp
Differential Revision
D44360: arm64: Return all registers to gdb when able
Parents
rGa931b85a0966: uart: Add uart_cpu_acpi_setup to setup the uart
Branches
Unknown
Tags
Unknown