Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 00:06:27 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Ed Maste <emaste@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r368667 - in head: . gnu/usr.bin gnu/usr.bin/binutils gnu/usr.bin/gdb tools/build/mk
Message-ID:  <DDC10DA3-BA28-47D1-B202-7D23EB2DD254@freebsd.org>
In-Reply-To: <7b56af12-94db-5ed0-1fc7-866d33a8b1e7@FreeBSD.org>
References:  <202012151744.0BFHiJfd093834@repo.freebsd.org> <7b56af12-94db-5ed0-1fc7-866d33a8b1e7@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Dec 2020, at 23:25, John Baldwin <jhb@FreeBSD.org> wrote:
> On 12/15/20 9:44 AM, Ed Maste wrote:
>> Author: emaste
>> Date: Tue Dec 15 17:44:19 2020
>> New Revision: 368667
>> URL: https://svnweb.freebsd.org/changeset/base/368667
>> 
>> Log:
>>  Retire obsolete GDB 6.1.1
>> 
>>  GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
>>  support all of the architectures that FreeBSD does, and imposes
>>  limitations on the FreeBSD kernel build, such as the continued use of
>>  DWARF2 debugging information.
>> 
>>  It was kept (in /usr/libexec/) only for use by crashinfo(8), which
>>  extracts some basic information from a kernel core dump after a crash.
>>  Crashinfo already prefers gdb from port/package if installed.
>> 
>>  Future work may add kernel debug support to LLDB or find another path
>>  for crashinfo's needs, but in any case we do not want to ship the
>>  excessively outdated GDB in FreeBSD 13.
>> 
>>  Sponsored by:	The FreeBSD Foundation
>>  Differential Revision:	https://reviews.freebsd.org/D27610
> 
> Are you going to remove the -gdwarf-2 bits from kern.mk now?
> 
> (Does ctfconvert support newer DWARF?)

cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c:1964-1968:

	debug(1, "DWARF version: %d\n", vers);
	if (vers < 2 || vers > 4) {
		terminate("file contains incompatible version %d DWARF code "
		    "(version 2, 3 or 4 required)\n", vers);
	}

(since r261025)

Though that doesn't mean it works...

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DDC10DA3-BA28-47D1-B202-7D23EB2DD254>