From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7404 invoked by alias); 4 May 2005 17:58:07 -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 7267 invoked from network); 4 May 2005 17:58:03 -0000 Received: from unknown (HELO cgf.cx) (66.30.17.189) by sourceware.org with SMTP; 4 May 2005 17:58:03 -0000 Received: by cgf.cx (Postfix, from userid 201) id 7266313C7E2; Wed, 4 May 2005 13:58:02 -0400 (EDT) Date: Wed, 04 May 2005 17:58:00 -0000 From: Christopher Faylor To: gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050504175802.GY24661@trixie.casa.cgf.cx> Mail-Followup-To: gdb-patches@sources.redhat.com, Eli Zaretskii References: <01c54f91$Blat.v2.4$f6e0b160@zahav.net.il> <20050503034604.GA437@nevyn.them.org> <01c55017$Blat.v2.4$3cb51f20@zahav.net.il> <20050503195650.GD25356@white> <01c55025$Blat.v2.4$00e755e0@zahav.net.il> <20050503213911.GB16440@trixie.casa.cgf.cx> <01c55061$Blat.v2.4$5a644e20@zahav.net.il> <20050504114821.GA27168@white> <20050504145535.GJ24661@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00124.txt.bz2 On Wed, May 04, 2005 at 01:43:21PM -0400, Eli Zaretskii wrote: >> Date: Wed, 4 May 2005 10:55:35 -0400 >> From: Christopher Faylor >> >> Has anyone actually confirmed that gcc will put \abc or x:abc in source >> files? > >I did (as I told elsewhere in this thread). Sorry, I joined the discussion in this thread only after I noticed that you were wondering if windows had a realpath or canonicalize_file_name. I have now read most of the responses from you and, so far, I've only seen "I think I've seen" or "gcc can do this in some cases". Nevertheless, I think it is irrelevant what could possibly show up in debug info since it is possible to convert everything into the x:\y or \\x\y form by using libiberty's lrealpath. That would reduce the regex for an absolute path on windows to: [a-zA-Z]:\\.*\|\\\\[^\\][^\\]*\\[^\\].* cgf