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.
Tags
None
Referenced Files
F150485895: D4012.id.diff
Wed, Apr 1, 3:30 PM
Unknown Object (File)
Wed, Mar 25, 5:37 AM
Unknown Object (File)
Wed, Mar 25, 2:50 AM
Unknown Object (File)
Tue, Mar 24, 12:06 PM
Unknown Object (File)
Sun, Mar 22, 1:22 AM
Unknown Object (File)
Fri, Mar 20, 7:56 AM
Unknown Object (File)
Thu, Mar 19, 4:56 AM
Unknown Object (File)
Tue, Mar 17, 8:17 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
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 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.