This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove support for "rtld_" prefix on solib-svr4 probes
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Gary Benson <gbenson at redhat dot com>
- Date: Thu, 25 Sep 2014 18:21:29 -0400
- Subject: Re: [PATCH] Remove support for "rtld_" prefix on solib-svr4 probes
- Authentication-results: sourceware.org; auth=none
- References: <1411581801-19126-1-git-send-email-sergiodj at redhat dot com> <5423F08B dot 1040409 at redhat dot com> <87bnq3h1gf dot fsf_-_ at redhat dot com> <54248579 dot 8030606 at redhat dot com> <87r3yzfl86 dot fsf at redhat dot com> <54248CD1 dot 8000801 at redhat dot com> <87eguzfju7 dot fsf at redhat dot com> <54249203 dot 3030607 at redhat dot com>
On Thursday, September 25 2014, Pedro Alves wrote:
> I don't either. But I'd rather a user stuck on such a OS be able to
> use a free debugger, than drive him towards a proprietary debugger.
> That's part of how I got involved into GDB in the first place. I was
> forced to used Windows at work. I worked around that by using Cygwin,
> to be able to use the free tools I preferred. At the same time
> I needed to build a tool that would run on Windows CE. So I worked on
> the GNU toolchain in order to target that OS. Then I wanted to make Cygwin
> GDB better too, because it was similar to CE, and I was using it
> at work too. And then somehow I ended up working on GDB full
> time. :-P It's a trap, I tells ya!
Haha, thanks for sharing your experience :-).
> The real point was that the user building GDB may have no control
> over the system bits of the distro it is building GDB for (in this
> case glibc's loader), just like when building for a proprietary OS,
> even though GNU/Linux distros are based (mostly) on free sources.
Yeah, that is a fair point, and it is very valid when we talk about
things that might make GDB break badly when removed. But in this case,
we are talking about a very specific Fedora/RHEL thing, which is itself
intended to improve something (i.e., GDB will still work without it on
old Fedora/RHEL systems), so I think most of the concerns don't apply
here.
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/