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)
Thu, Nov 6, 1:17 AM
Unknown Object (File)
Tue, Nov 4, 6:07 PM
Unknown Object (File)
Mon, Nov 3, 8:14 AM
Unknown Object (File)
Sat, Nov 1, 6:47 PM
Unknown Object (File)
Sat, Nov 1, 2:02 AM
Unknown Object (File)
Thu, Oct 30, 8:42 AM
Unknown Object (File)
Tue, Oct 28, 5:22 AM
Unknown Object (File)
Sat, Oct 18, 8:23 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

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.