From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11449 invoked by alias); 10 Dec 2002 19:37:54 -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 11426 invoked from network); 10 Dec 2002 19:37:49 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 10 Dec 2002 19:37:49 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CC0A53CFE; Tue, 10 Dec 2002 14:37:44 -0500 (EST) Message-ID: <3DF64288.9060706@redhat.com> Date: Tue, 10 Dec 2002 11:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFC: support debug info in separate files References: <15861.29951.564644.347349@localhost.redhat.com> <3DF6107D.7080708@redhat.com> <15862.3912.243064.423628@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00332.txt.bz2 > Andrew Cagney writes: > > Hmm, to wear fernando's hat :-) Is there a new test that demonstrates > > this feature? > > You need the special strip program. One could think of avoiding > running strip by storing the blah.debug files in the gdb.base source > directory, but then the executable built at the time you run the tests > wouldn't be stripped as gdb expects it. One other way would be to > maybe store the strip program somewhere in the gdb source, but I don't > think this elfutils/strip is FSF. Do you have the specifics of the `strip' command and its behavior? I'll suggest it to binutils. Hopefully (assuming the feature is as useful as it sounds) it will soon be added. To expand on the test. What I was thinking of was something to check that the prefix command worked. > I know that Jim was able to run the testsuite but I think he relied on > having the proper strip installed on the system. Ah! Andrew