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

Lint
Lint Skipped
Unit
Tests Skipped

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.