Page MenuHomeFreeBSD

WORKAROUND: ignore ARM EABI version higher than 5 in GDB
ClosedPublic

Authored by wma_semihalf.com on Oct 27 2015, 10:49 AM.

Details

Summary
To make KGDB working, it needs to understand kernel ELF image.
By default it is compiled using EABI_5, which is not supported
on the gdb-6. As a workaround, treat these images as EABI_2 because
they share a lot of things in common.
WARNING: this workaround does not guarantee ALL funtionalities
are working, but at least makes post-mortem vmcore debugging
possible.

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 WORKAROUND: ignore ARM EABI version higher than 5 in 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, kib, ian, jhb.
jhb accepted this revision.Oct 27 2015, 4:13 PM
jhb edited edge metadata.

Hopefully we won't need this once devel/gdb supports arm.

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