From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62525 invoked by alias); 2 Sep 2015 14:58:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 61442 invoked by uid 89); 2 Sep 2015 14:58:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f179.google.com Received: from mail-yk0-f179.google.com (HELO mail-yk0-f179.google.com) (209.85.160.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 02 Sep 2015 14:58:08 +0000 Received: by ykei199 with SMTP id i199so12299662yke.0 for ; Wed, 02 Sep 2015 07:58:06 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.170.87.84 with SMTP id e81mr3957295yka.34.1441205886550; Wed, 02 Sep 2015 07:58:06 -0700 (PDT) Received: by 10.13.254.195 with HTTP; Wed, 2 Sep 2015 07:58:06 -0700 (PDT) In-Reply-To: <20150902074113.GA32556@host1.jankratochvil.net> References: <20150821212006.6673.35100.stgit@host1.jankratochvil.net> <20150902074113.GA32556@host1.jankratochvil.net> Date: Wed, 02 Sep 2015 14:58:00 -0000 Message-ID: Subject: Re: [PATCH v12 00/32] Validate binary before use From: Doug Evans To: Jan Kratochvil Cc: Doug Evans , gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00037.txt.bz2 On Wed, Sep 2, 2015 at 12:41 AM, Jan Kratochvil wrote: > On Wed, 02 Sep 2015 05:56:48 +0200, Doug Evans wrote: >> On Fri, Aug 21, 2015 at 2:20 PM, Jan Kratochvil 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?