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

Jessica Clarke <[email protected]> Wed, 16 Dec 2020 00:06:27 +0000
Newsgroups gmane.os.freebsd.devel.cvs
Message-ID <DDC10DA3-BA28-47D1-B202-7D23EB2DD254__16872.1373005368$1608077205$gmane$org@freebsd.org>
On 15 Dec 2020, at 23:25, John Baldwin <[email protected]> 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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"