svn commit: r368667 - in head: . gnu/usr.bin gnu/usr.bin/binutils gnu/usr.bin/gdb tools/build/mk

Jessica Clarke jrtc27 at freebsd.org
Wed Dec 16 00:06:32 UTC 2020


On 15 Dec 2020, at 23:25, John Baldwin <jhb at 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



More information about the svn-src-all mailing list