Re: Has gdb been disconnected from make installworld?

From: Benjamin Kaduk <kaduk_at_mit.edu>
Date: Sun, 25 Jun 2017 14:07:19 -0500
On Sun, Jun 25, 2017 at 09:03:58PM +0200, Trond Endrestøl wrote:
> On Sun, 25 Jun 2017 20:55+0200, Trond Endrestøl wrote:
> 
> > I was at bit surprised to see gdb missing from /usr/bin this evening. 
> > The executables are still being built in /usr/obj/usr/src/gnu/usr.bin/gdb.
> > 
> > This is on base/head r320329.
> > 
> > Do we need to add WITH_GDB=yes to our src.conf files?
> 
> Ah, they wound up in /usr/libexec. Still, that's an odd place for user 
> software.

-----------------------------------------------------------------------
r317416 | jhb | 2017-04-25 13:08:56 -0500 (Tue, 25 Apr 2017) | 16 lines

Add a new GDB_LIBEXEC option to install gdb and kgdb to /usr/libexec.

When this option is enabled, only gdb and kgdb are installed to
/usr/libexec for use by crashinfo(8). Other bits of GDB such as
gdbserver and gdbtui are not installed. For this option to be
effective, GDB must be enabled.

Rework r317094 to re-enable GDB on all platforms but enable
GDB_LIBEXEC on platforms for which the GDB in ports is a superset of
functionality.

Reviewed by:    emaste, kib
Suggested by:   kib
Relnotes:       yes
Differential Revision:  https://reviews.freebsd.org/D10449
-----------------------------------------------------------------------


Note specifically that the GDB in ports is a substantial improvement in
functionality on amd64.

-Ben
Received on Sun Jun 25 2017 - 17:07:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC