From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15948 invoked by alias); 6 Jun 2003 13:11:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15916 invoked from network); 6 Jun 2003 13:11:46 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Jun 2003 13:11:46 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h56DBkH16598 for ; Fri, 6 Jun 2003 09:11:46 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h56DBkI22937 for ; Fri, 6 Jun 2003 09:11:46 -0400 Received: from localhost.redhat.com (IDENT:o/EYYWPA+iXsgGJ11Kc0Qjn12mBenhzJ@tooth.toronto.redhat.com [172.16.14.29]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h56DBi632441; Fri, 6 Jun 2003 09:11:44 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id D91812C986; Fri, 6 Jun 2003 09:17:55 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16096.38018.961095.469616@localhost.redhat.com> Date: Fri, 06 Jun 2003 13:11:00 -0000 To: Nick Clifton Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: RFC: strip --strip-nondebug In-Reply-To: References: <16095.28727.461421.387212@localhost.redhat.com> <16095.39199.714582.752069@localhost.redhat.com> X-SW-Source: 2003-06/txt/msg00232.txt.bz2 Nick Clifton writes: > Hi Elena, > > > Hmm, step through symfile.c:find_separate_debug_file, if the problem > > seems to be locating the file. > > The problem is find_separate_debug_file() calls get_debug_link_info() > which looks for a section called ".gnu_debuglink" which is not present > in the stripped executable. > > What is this section and how is it supposed to get into the stripped > executable ? The strip utility does it. BTW, I find it a bit silly that a non-gnu utility decided to use the .gnu_debuglink name. Maybe you should call it somethign different, and gdb can look for both names? elena > > Cheers > Nick