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.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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 accepted this revision.Oct 27 2015, 4:14 PM
jhb edited edge metadata.

Nice!

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