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
Unknown Object (File)
Thu, Apr 18, 3:00 AM
Unknown Object (File)
Thu, Apr 18, 3:00 AM
Unknown Object (File)
Mar 20 2024, 12:32 AM
Unknown Object (File)
Dec 31 2023, 10:12 AM
Unknown Object (File)
Dec 20 2023, 1:51 AM
Unknown Object (File)
Nov 24 2023, 7:55 AM
Unknown Object (File)
Nov 13 2023, 1:28 PM
Unknown Object (File)
Nov 10 2023, 8:35 PM
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.