From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8091 invoked by alias); 4 Jan 2008 21:48:18 -0000 Received: (qmail 8082 invoked by uid 22791); 4 Jan 2008 21:48:17 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jan 2008 21:47:58 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1DD0998120; Fri, 4 Jan 2008 21:47:56 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 007279801D; Fri, 4 Jan 2008 21:47:56 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JAuOQ-0001t4-K5; Fri, 04 Jan 2008 16:47:54 -0500 Date: Fri, 04 Jan 2008 21:48:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: Aleksandar Ristovski , gdb@sourceware.org, Ryan Mansfield Subject: Re: gdb_realpath: dealing with ./ and ../ Message-ID: <20080104214754.GA7234@caradoc.them.org> Mail-Followup-To: Doug Evans , Aleksandar Ristovski , gdb@sourceware.org, Ryan Mansfield References: <2F6320727174C448A52CEB63D85D11F40A4A@nova.ott.qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00028.txt.bz2 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. I'll look at the rest of this thread later. -- Daniel Jacobowitz CodeSourcery