This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v12 00/32] Validate binary before use
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 2 Sep 2015 09:41:13 +0200
- Subject: Re: [PATCH v12 00/32] Validate binary before use
- Authentication-results: sourceware.org; auth=none
- References: <20150821212006 dot 6673 dot 35100 dot stgit at host1 dot jankratochvil dot net> <CADPb22SaGgC15w0C42TzYJK=02i0=jkPw6BJk3UrHSG1n-UZVQ at mail dot gmail dot com>
On Wed, 02 Sep 2015 05:56:48 +0200, Doug Evans wrote:
> On Fri, Aug 21, 2015 at 2:20 PM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > It does not support build-ids from linux-nat and core files (as Fedora GDB
> > supports). It also does not ask librpm for debuginfo-install suggestions.
>
> Which Fedora patches support build-ids in core files?
The primary patch from 2007 is:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-6.6-buildid-locate.patch
But there are related all the gdb-6.6-buildid-locate*.patch files in:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/
That means on Fedora people can do what newbie users expect to work, that is:
gdb core.34523
and GDB finds and loads all the needed executable + shared libraries (and it
does not load non-matching shared libraries which only confuse the
backtraces).
Jan