Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 15:51:24 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        rgrimes@freebsd.org, Eric van Gyzen <vangyzen@freebsd.org>, John Baldwin <jhb@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:  <25F616D2-DE24-485B-9549-E1C4F68B9379@gmail.com>
In-Reply-To: <CANCZdfqkkEyKi5No7YQ7jmASTXZd6v1bha%2Bb=-rquULtmde9pw@mail.gmail.com>
References:  <c8fd3b81-f423-81c2-1ae1-45507c7f70f2@FreeBSD.org> <201704192218.v3JMIYtS032774@pdx.rh.CN85.dnsmgr.net> <CANCZdfqkkEyKi5No7YQ7jmASTXZd6v1bha%2Bb=-rquULtmde9pw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Apr 19, 2017, at 15:22, Warner Losh <imp@bsdimp.com> wrote:

...

>> Actually this is exactly what I would expect from Linux!
>>=20
>> 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.
>=20
> I think "gdb in base is horribly broken" is the real reason. You need
> the port to do anything non-trivial these days.
>=20
> 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 s=
upport 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 disagr=
ee on the practical end of things. I'm actually kind of curious as to why th=
is isn't being done globally.. but I assume that it was described in one of t=
he many threads some time ago about the status quo for debugging with gdb on=
 tier-two architectures.

Thanks,
-Ngie=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25F616D2-DE24-485B-9549-E1C4F68B9379>