This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v12 00/32] Validate binary before use


On Wed, Sep 2, 2015 at 12:41 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> 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).

Thanks.

Is there a patch that given "gdb random-program random-core"
will verify the build-ids match?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]