Page MenuHomeFreeBSD

arm64: Return all registers to gdb when able
ClosedPublic

Authored by andrew on Mar 14 2024, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 15, 12:51 PM
Unknown Object (File)
Thu, Jul 4, 7:40 AM
Unknown Object (File)
Tue, Jun 25, 11:39 PM
Unknown Object (File)
Tue, Jun 25, 6:32 AM
Unknown Object (File)
Jun 16 2024, 11:52 AM
Unknown Object (File)
Jun 6 2024, 7:40 PM
Unknown Object (File)
May 27 2024, 12:12 PM
Unknown Object (File)
May 27 2024, 6:10 AM
Subscribers

Details

Summary

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.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable