From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25230 invoked by alias); 4 Jan 2008 22:23:13 -0000 Received: (qmail 25220 invoked by uid 22791); 4 Jan 2008 22:23:13 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jan 2008 22:22:56 +0000 Received: from zps76.corp.google.com (zps76.corp.google.com [172.25.146.76]) by smtp-out.google.com with ESMTP id m04MMpUU031942 for ; Fri, 4 Jan 2008 22:22:52 GMT Received: from wa-out-1112.google.com (wahj5.prod.google.com [10.114.236.5]) by zps76.corp.google.com with ESMTP id m04MLOcA008810 for ; Fri, 4 Jan 2008 14:22:51 -0800 Received: by wa-out-1112.google.com with SMTP id j5so9848349wah.15 for ; Fri, 04 Jan 2008 14:22:50 -0800 (PST) Received: by 10.114.209.1 with SMTP id h1mr19204925wag.115.1199485370358; Fri, 04 Jan 2008 14:22:50 -0800 (PST) Received: by 10.115.107.7 with HTTP; Fri, 4 Jan 2008 14:22:50 -0800 (PST) Message-ID: Date: Fri, 04 Jan 2008 22:23:00 -0000 From: "Doug Evans" To: "Aleksandar Ristovski" , gdb@sourceware.org, "Ryan Mansfield" Subject: Re: gdb_realpath: dealing with ./ and ../ In-Reply-To: <20080104214754.GA7234@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2F6320727174C448A52CEB63D85D11F40A4A@nova.ott.qnx.com> <20080104214754.GA7234@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00030.txt.bz2 On Jan 4, 2008 1:47 PM, Daniel Jacobowitz wrote: > On Fri, Jan 04, 2008 at 01:39:51PM -0800, Doug Evans wrote: > > The use of #line in the testcases in the appended patch is > > questionable, but as a data point the testcases fail without the patch > > and pass with the patch. These versions of the testcases have been > > amended to use substitute-path. > > This happens during symbol reading, right? That means substitute-path > has to be set before GDB loads any files; another reason why I don't > think it is appropriate to use it while building symtabs. Not to mention requiring getting the right value for substitute-path being a bit sadistic ... > I'll look at the rest of this thread later. Thanks.