From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8968 invoked by alias); 22 Feb 2013 15:09:42 -0000 Received: (qmail 8959 invoked by uid 22791); 22 Feb 2013 15:09:42 -0000 X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,MISSING_HEADERS,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from na3sys009aog123.obsmtp.com (HELO na3sys009aog123.obsmtp.com) (74.125.149.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Feb 2013 15:09:37 +0000 Received: from mx10.qnx.com ([209.226.137.110]) (using TLSv1) by na3sys009aob123.postini.com ([74.125.148.12]) with SMTP ID DSNKUSeKMJP2nlRFSb7hpFaa8EsDWP5E/q1J@postini.com; Fri, 22 Feb 2013 07:09:36 PST Received: by mx10.qnx.com (Postfix, from userid 500) id 016EF20E14; Fri, 22 Feb 2013 10:09:30 -0500 (EST) Received: from exhts.ott.qnx.com (exch2 [10.222.2.136]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx10.qnx.com (Postfix) with ESMTPS id D852520D99; Fri, 22 Feb 2013 10:09:30 -0500 (EST) Received: from [10.222.96.215] (10.222.2.5) by exch2.ott.qnx.com (10.222.2.136) with Microsoft SMTP Server id 14.2.318.4; Fri, 22 Feb 2013 10:09:30 -0500 Message-ID: <51278A2A.9000802@qnx.com> Date: Fri, 22 Feb 2013 15:09:00 -0000 From: Aleksandar Ristovski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 Newsgroups: gmane.comp.gdb.patches CC: Jan Kratochvil , "gdb-patches@sourceware.org" Subject: Re: [patch] validate binary before use References: <50D4C49A.6040502@qnx.com> <50D8B37A.20001@qnx.com> <20121225073709.GA11349@host2.jankratochvil.net> <50DCAA5C.3000301@qnx.com> <20121227205924.GA5109@host2.jankratochvil.net> <50DCB787.6020601@qnx.com> <20121227211328.GA5739@host2.jankratochvil.net> <50DCBBD1.7000707@qnx.com> <5107F591.304@qnx.com> <20130131063518.GA3027@host2.jankratochvil.net> <510A7EB0.90702@qnx.com> In-Reply-To: <510A7EB0.90702@qnx.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2013-02/txt/msg00591.txt.bz2 On 13-01-31 09:24 AM, Aleksandar Ristovski wrote: > On 13-01-31 01:35 AM, Jan Kratochvil wrote: >> >> Therefore there should be new build_id field in struct so_list where >> svr4_current_sos_via_xfer_libraries will put it from gdbserver. In >> local mode >> it should remain mostly as you wrote it / as suggested in the review >> as there >> is currently no easy non-Linux way how to find PT_NOTE without bfd at >> hand. >> >> > > Ok, I can add this. Will be included in the new patch. > > I have added build-id to gdbserver response. Patch is posted here: http://sourceware.org/ml/gdb-patches/2013-02/msg00590.html I will be posting renewed "validate binary before use" patch which uses build-id from gdbserver here soon. Thanks, Aleksandar