From owner-svn-src-all@freebsd.org Thu Apr 20 07:31:14 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E812DD471A9; Thu, 20 Apr 2017 07:31:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC79213A9; Thu, 20 Apr 2017 07:31:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 3B5C610A7B9; Thu, 20 Apr 2017 03:31:13 -0400 (EDT) From: John Baldwin To: Ngie Cooper Cc: Warner Losh , rgrimes@freebsd.org, Eric van Gyzen , Slawa Olhovchenkov , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , src-committers Subject: Re: svn commit: r317094 - head/share/mk Date: Wed, 19 Apr 2017 17:47:57 -0700 Message-ID: <1934449.ZAthNnyNnu@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: <25F616D2-DE24-485B-9549-E1C4F68B9379@gmail.com> References: <25F616D2-DE24-485B-9549-E1C4F68B9379@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 20 Apr 2017 03:31:13 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 07:31:15 -0000 On Wednesday, April 19, 2017 03:51:24 PM Ngie Cooper wrote: > > > On Apr 19, 2017, at 15:22, Warner Losh wrote: > > ... > > >> Actually this is exactly what I would expect from Linux! > >> > >> Why do we need to pull the trigger on GDB other than to pull the trigger > >> to say we are GPL free, if that is the reason then this is the wrong > >> way to go about it. > > > > I think "gdb in base is horribly broken" is the real reason. You need > > the port to do anything non-trivial these days. > > > > Plus core set this as a goal for the project after it was clear that > > was a consensus desire several years ago. Can't fault someone for > > working towards that goal. > > +1 to Warner's sentiments. > > gdb in base doesn't work well with threads (6.x never did ;/..), and lacks support for other things (like python debugging). Being able to debug threads reliably is a make or break thing. > > So while I understand and in general agree with you Rod, I completely disagree on the practical end of things. I'm actually kind of curious as to why this isn't being done globally.. but I assume that it was described in one of the many threads some time ago about the status quo for debugging with gdb on tier-two architectures. As the commit message stated, gdb in ports doesn't yet include kgdb support for ARM, and no one has tested the sparc64 support for gdb in ports, so those two architectures remain on. For all other platforms, gdb in ports is a strict superset of gdb in base. -- John Baldwin