Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 17:47:57 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        Ngie Cooper <yaneurabeya@gmail.com>
Cc:        Warner Losh <imp@bsdimp.com>, rgrimes@freebsd.org, Eric van Gyzen <vangyzen@freebsd.org>, Slawa Olhovchenkov <slw@zxy.spb.ru>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r317094 - head/share/mk
Message-ID:  <1934449.ZAthNnyNnu@ralph.baldwin.cx>
In-Reply-To: <25F616D2-DE24-485B-9549-E1C4F68B9379@gmail.com>
References:  <c8fd3b81-f423-81c2-1ae1-45507c7f70f2@FreeBSD.org> <CANCZdfqkkEyKi5No7YQ7jmASTXZd6v1bha%2Bb=-rquULtmde9pw@mail.gmail.com> <25F616D2-DE24-485B-9549-E1C4F68B9379@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, April 19, 2017 03:51:24 PM Ngie Cooper wrote:
> 
> > On Apr 19, 2017, at 15:22, Warner Losh <imp@bsdimp.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1934449.ZAthNnyNnu>