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)
Sat, Nov 16, 1:53 PM
Unknown Object (File)
Oct 5 2024, 1:41 PM
Unknown Object (File)
Oct 4 2024, 9:25 AM
Unknown Object (File)
Oct 4 2024, 7:54 AM
Unknown Object (File)
Oct 1 2024, 9:49 PM
Unknown Object (File)
Oct 1 2024, 7:17 PM
Unknown Object (File)
Oct 1 2024, 1:47 PM
Unknown Object (File)
Sep 28 2024, 2:36 PM
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