Page MenuHomeFreeBSD

Divorce MK_GDB from MK_BINUTILS.
ClosedPublic

Authored by jhb on Mar 6 2019, 6:05 PM.
Tags
None
Referenced Files
F83715719: D19480.id54784.diff
Mon, May 13, 10:19 PM
Unknown Object (File)
Tue, May 7, 10:10 AM
Unknown Object (File)
Thu, May 2, 1:26 AM
Unknown Object (File)
Thu, May 2, 12:47 AM
Unknown Object (File)
Sun, Apr 28, 2:29 PM
Unknown Object (File)
Sun, Apr 21, 5:51 AM
Unknown Object (File)
Apr 13 2024, 6:04 PM
Unknown Object (File)
Apr 10 2024, 5:14 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.