From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26000 invoked by alias); 1 May 2005 18:34: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 25992 invoked from network); 1 May 2005 18:34:46 -0000 Received: from unknown (HELO lakermmtao06.cox.net) (68.230.240.33) by sourceware.org with SMTP; 1 May 2005 18:34:46 -0000 Received: from white ([68.9.64.121]) by lakermmtao06.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050501183446.LTWY749.lakermmtao06.cox.net@white>; Sun, 1 May 2005 14:34:46 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DSJHA-0005Up-00; Sun, 01 May 2005 14:34:44 -0400 Date: Sun, 01 May 2005 18:34:00 -0000 From: Bob Rossi To: Eli Zaretskii Cc: Dennis Brueni , gdb-patches@sources.redhat.com Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Message-ID: <20050501183444.GA20757@white> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-05/txt/msg00014.txt.bz2 > > Like Dennis noted, it could be possible that the fullname might not > > start with a "/". I originally posted the patch with the fullname > > starting with a "/", and since then, there hasn't been any complaints. > > If there is a better regex that ensures that the fullname is absolute > > I'd be happy to change the mi-file.exp test to it. > > The proper regexp should be something like > > \([A-z]:\)?[/\\].*basics.c > > This assumes that \(...\) is the proper syntax for grouping (I don't > know much about the regexp syntax expected by Expect). > > (The uppercase A but lowercase z in the above are intentional: that's > because letters between Z and a can also be drive letters, amazingly > enough.) OK, I don't know why no one has ever posted to this list with testsuite failures on the mi-file.exp testcase. Maybe no one runs the mi testsuite on windows? Either way, I'm going to submit a patch later today which will add a variable to mi-support.exp similar to mi_gdb_prompt. The variable will describe the syntax of a fullname field. It will abstract the details and complications from new users trying to write testcase's. I'll try to find time to make this quick change tonight. If people don't like this idea, let me know. Thanks, Bob Rossi