From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4353 invoked by alias); 2 May 2005 19:36:53 -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 4111 invoked from network); 2 May 2005 19:36:40 -0000 Received: from unknown (HELO lakermmtao07.cox.net) (68.230.240.32) by sourceware.org with SMTP; 2 May 2005 19:36:40 -0000 Received: from white ([68.9.64.121]) by lakermmtao07.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050502193639.HHQA28809.lakermmtao07.cox.net@white>; Mon, 2 May 2005 15:36:39 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DSgic-00063S-00; Mon, 02 May 2005 15:36:38 -0400 Date: Mon, 02 May 2005 19:36:00 -0000 From: Bob Rossi To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050502193638.GD22967@white> Mail-Followup-To: Eli Zaretskii , gdb-patches@sources.redhat.com References: <20050430191755.GF7009@nevyn.them.org> <20050501021945.GA19962@white> <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> <20050502005415.GA21588@white> <01c54f4d$Blat.v2.4$3ce76180@zahav.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c54f4d$Blat.v2.4$3ce76180@zahav.net.il> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-05/txt/msg00060.txt.bz2 On Mon, May 02, 2005 at 10:28:17PM +0300, Eli Zaretskii wrote: > > Date: Sun, 1 May 2005 20:54:15 -0400 > > From: Bob Rossi > > Cc: Dennis Brueni , gdb-patches@sources.redhat.com > > > > > The proper regexp should be something like > > > > > > \([A-z]:\)?[/\\].*basics.c > > > > Eli, is this correct? Is a proper fullname in windows \abc? > > Yes, "\abc" is a proper absolute file name on DOS/Windows. Why did > you think it wasn't? I've just never seen that before. I always thought that \abc actually referred to A:\abc or whatever the current drive is. However, I didn't know if the compiler would end up seeing \abc, or if it would know that it is actually A:\abc. Also, I realized that a network drive would have to be accounted for (\\gateway\abc), however, if \ is a proper absolute file name on DOS/Windows, then your regex accounts for network drives also. If from my comments above you think that \abc might not be OK, let us know, and I'll look into a new regex. Otherwise, I'll use the regex you posted. Thanks, Bob Rossi