Page MenuHomeFreeBSD

Use PCB/LR from PCB rather from stack on armv7-gdb
ClosedPublic

Authored by wma_semihalf.com on Oct 27 2015, 10:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 14 2025, 7:43 PM
Unknown Object (File)
Jan 12 2025, 11:40 PM
Unknown Object (File)
Jan 7 2025, 12:41 PM
Unknown Object (File)
Dec 29 2024, 2:01 AM
Unknown Object (File)
Dec 15 2024, 4:29 PM
Unknown Object (File)
Dec 4 2024, 4:42 AM
Unknown Object (File)
Dec 4 2024, 4:17 AM
Unknown Object (File)
Nov 28 2024, 7:26 PM
Subscribers

Details

Summary

The kernel dump does not store these values on the stack. Use PCB structure to resolve PC and LR properly.
This changes fixes "bt" command when using KGDB+vmcore for kernel debugging.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wma_semihalf.com retitled this revision from to Use PCB/LR from PCB rather from stack on armv7-gdb.
wma_semihalf.com updated this object.
wma_semihalf.com edited the test plan for this revision. (Show Details)
wma_semihalf.com added reviewers: imp, zbb, ian, kib, jhb.
jhb edited edge metadata.

Nice!

This revision is now accepted and ready to land.Oct 27 2015, 4:14 PM
kib edited edge metadata.
This revision was automatically updated to reflect the committed changes.