From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12958 invoked by alias); 5 May 2005 23:53:29 -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 12907 invoked from network); 5 May 2005 23:53:26 -0000 Received: from unknown (HELO lakermmtao07.cox.net) (68.230.240.32) by sourceware.org with SMTP; 5 May 2005 23:53:26 -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 <20050505235321.TCBS28809.lakermmtao07.cox.net@white>; Thu, 5 May 2005 19:53:21 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DTq9g-0000E9-00; Thu, 05 May 2005 19:53:20 -0400 Date: Thu, 05 May 2005 23:53:00 -0000 From: Bob Rossi To: Dennis Brueni , gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050505235320.GB481@white> Mail-Followup-To: Dennis Brueni , gdb-patches@sources.redhat.com, Eli Zaretskii References: <20050430191755.GF7009@nevyn.them.org> <20050501021945.GA19962@white> <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> <20050505171910.GB31758@white> <20050505191754.GL5374@trixie.casa.cgf.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050505191754.GL5374@trixie.casa.cgf.cx> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-05/txt/msg00177.txt.bz2 On Thu, May 05, 2005 at 03:17:54PM -0400, Christopher Faylor wrote: > On Thu, May 05, 2005 at 01:19:10PM -0400, Bob Rossi wrote: > >> The proper regexp should be something like > >> > >> \([A-z]:\)?[/\\].*basics.c > > > >I sent this question to Eli, but thought others might be interested. > >The regex above woks on /.* and d:\.* and \\.* and \.* but it doesn't > >work on d:.*. I can't see a simple way to add that last case. Does > >anyone else? > > > >This is the only way I could solve the last case, > > \([A-z]:[^\].*\)|\([A-z]:\)?[/\\].*basics.c > > Maybe it's a minor nit but \\.* is not strictly correct for a UNC. > With, \\X\y, the X is not optional. So there has to be at least > three backslashes in a UNC path, e.g, \\\\[^\\][^\\]*\..* Thanks, I'll make sure to incorporate this. Bob Rossi