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, Oct 9, 7:50 PM
Unknown Object (File)
Sat, Sep 27, 1:20 PM
Unknown Object (File)
Mon, Sep 22, 9:47 PM
Unknown Object (File)
Fri, Sep 19, 11:46 AM
Unknown Object (File)
Wed, Sep 17, 7:39 AM
Unknown Object (File)
Sun, Sep 14, 2:43 AM
Unknown Object (File)
Aug 14 2025, 7:17 AM
Unknown Object (File)
Aug 10 2025, 2:45 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.