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
F132329375: D44360.id135760.diff
Wed, Oct 15, 11:07 PM
F132329372: D44360.id135895.diff
Wed, Oct 15, 11:07 PM
F132329371: D44360.id.diff
Wed, Oct 15, 11:07 PM
Unknown Object (File)
Wed, Oct 15, 12:41 PM
Unknown Object (File)
Wed, Oct 8, 6:29 PM
Unknown Object (File)
Wed, Oct 1, 8:12 PM
Unknown Object (File)
Sat, Sep 20, 4:38 AM
Unknown Object (File)
Thu, Sep 18, 1:10 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