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)
Thu, May 14, 8:46 PM
Unknown Object (File)
Thu, May 14, 6:47 PM
Unknown Object (File)
Thu, May 14, 6:47 PM
Unknown Object (File)
Thu, May 14, 6:47 PM
Unknown Object (File)
Thu, May 14, 6:47 PM
Unknown Object (File)
Apr 21 2026, 10:07 AM
Unknown Object (File)
Apr 20 2026, 4:43 AM
Unknown Object (File)
Apr 20 2026, 2:46 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 56608
Build 53496: arc lint + arc unit