Page MenuHomeFreeBSD

Divorce MK_GDB from MK_BINUTILS.
ClosedPublic

Authored by jhb on Mar 6 2019, 6:05 PM.
Tags
None
Referenced Files
F107855220: D19480.diff
Sat, Jan 18, 6:16 PM
Unknown Object (File)
Thu, Jan 9, 12:54 AM
Unknown Object (File)
Dec 7 2024, 9:35 PM
Unknown Object (File)
Dec 7 2024, 9:34 PM
Unknown Object (File)
Dec 7 2024, 9:34 PM
Unknown Object (File)
Dec 7 2024, 9:34 PM
Unknown Object (File)
Dec 6 2024, 2:19 AM
Unknown Object (File)
Nov 8 2024, 5:19 AM

Details

Summary

This permits legacy GDB to still be built and installed if
WITHOUT_BINUTILS is set (e.g. if base/binutils is installed).

Test Plan
  • used in an amd64 VM using base/* as the toolchain to still get a /usr/libexec/kgdb for crashinfo
  • passed make tinderbox

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22919
Build 22005: arc lint + arc unit

Event Timeline

You'll want to update the WITH_/WITHOUT_BINUTILS files too

Modulo the WITH/WITHOUT updates, looks good

This revision is now accepted and ready to land.Mar 6 2019, 6:13 PM

You'll want to update the WITH_/WITHOUT_BINUTILS files too

Hmm, I looked at those but they don't reference gdb at all. However, regenerating src.conf.5 did generate a diff I'll upload in a sec.

This revision now requires review to proceed.Mar 6 2019, 7:05 PM
In D19480#417046, @jhb wrote:

Hmm, I looked at those but they don't reference gdb at all. However, regenerating src.conf.5 did generate a diff I'll upload in a sec.

Oh, I thought they made reference to gdb, but you're right, they already describe only the binutils not controlled by MK_GDB.

This revision is now accepted and ready to land.Mar 6 2019, 7:10 PM
This revision was automatically updated to reflect the committed changes.