From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4897 invoked by alias); 2 May 2005 00:58:50 -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 4812 invoked from network); 2 May 2005 00:58:46 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 2 May 2005 00:58:46 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DSPGb-0001iG-1S; Sun, 01 May 2005 20:58:33 -0400 Date: Mon, 02 May 2005 00:58:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii , Dennis Brueni , gdb-patches@sources.redhat.com Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050502005832.GA6484@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Dennis Brueni , 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050502005415.GA21588@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00035.txt.bz2 On Sun, May 01, 2005 at 08:54:15PM -0400, Bob Rossi wrote: > Eli, is this correct? Is a proper fullname in windows \abc? Should the > regex move the \\ into the first grouping with the drive letter? > > \([A-z]:\\\)?/.*basics.c > > Please let me know. If so, you want to strip the extra slash. ([A-Za-z]:\\|/).*[\\/]$basename Additional backslash doubling and brace escaping is necessary with TCL "" quoting, and this is not strictly correct in that it does not handle files directly under a root path. -- Daniel Jacobowitz CodeSourcery, LLC