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)
Fri, May 3, 12:17 AM
Unknown Object (File)
Thu, Apr 25, 3:57 PM
Unknown Object (File)
Wed, Apr 17, 8:11 AM
Unknown Object (File)
Wed, Apr 17, 8:08 AM
Unknown Object (File)
Apr 10 2024, 10:34 AM
Unknown Object (File)
Mar 28 2024, 1:05 PM
Unknown Object (File)
Mar 20 2024, 12:29 AM
Unknown Object (File)
Feb 11 2024, 4:05 AM
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.