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)
Fri, Dec 12, 4:53 AM
Unknown Object (File)
Thu, Dec 11, 6:41 PM
Unknown Object (File)
Fri, Nov 28, 11:08 PM
Unknown Object (File)
Thu, Nov 27, 4:19 PM
Unknown Object (File)
Sat, Nov 22, 10:34 AM
Unknown Object (File)
Tue, Nov 18, 7:16 AM
Unknown Object (File)
Tue, Nov 18, 4:20 AM
Unknown Object (File)
Nov 7 2025, 1:07 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