From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23891 invoked by alias); 19 Nov 2002 11:47:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23882 invoked from network); 19 Nov 2002 11:47:17 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 19 Nov 2002 11:47:17 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id gAJBUgu22389; Tue, 19 Nov 2002 06:30:42 -0500 To: Ulrich Drepper Cc: Alexander Larsson , gdb@sources.redhat.com Subject: Re: Final separate debug info patch References: <3DD9F00B.4030309@redhat.com> From: Jim Blandy Date: Tue, 19 Nov 2002 03:47:00 -0000 In-Reply-To: <3DD9F00B.4030309@redhat.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-11/txt/msg00214.txt.bz2 Ulrich Drepper writes: > Alexander Larsson wrote: > > > That makes sense to me. Uli? Is this ok with you? > > I don't know. I imagine that strip is used like this in the build root > for the distribution. By preserving the entire path lots on unusable > information is leaked and distributed. This is true for many situations. > > Unless somebody can provide a really good reason why the entire path is > needed I rather not change anything. Well, my motivating case is a GDB test script that copies the executable elsewhere. At the moment, I can just override the compilation procedure in the target board file and run the entire GDB test suite against separated executables without modifying any of the test scripts. Except for this one test. Now, if strip kept an absolute path when it was given one, and GDB used it, then copying the executable wouldn't hurt, and everything would just work. If people don't want to include absolute paths, they don't have to give one to strip, it seems to me. Strip preserving what it's given doesn't take away anyone's choices. But I admit this isn't the most compelling use case one could imagine.