From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3939 invoked by alias); 31 Jan 2005 22:04:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3773 invoked from network); 31 Jan 2005 22:03:55 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 31 Jan 2005 22:03:55 -0000 Received: from drow by nevyn.them.org with local (Exim 4.43 #1 (Debian)) id 1CvjeE-00038P-SQ for ; Mon, 31 Jan 2005 17:03:55 -0500 Date: Mon, 31 Jan 2005 22:04:00 -0000 From: Daniel Jacobowitz To: GDB Subject: Re: How do I get regexp from expect at gdb_expect? Message-ID: <20050131220354.GA11955@nevyn.them.org> Mail-Followup-To: GDB References: <20050129025743.GA4053@white> <200501290309.j0T39F1i020834@tully.CS.Berkeley.EDU> <20050131150652.GA7955@white> <20050131162609.GA19459@nevyn.them.org> <20050131211042.GA8411@white> <20050131212122.GA10092@nevyn.them.org> <20050131220050.GB8411@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050131220050.GB8411@white> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2005-01/txt/msg00170.txt.bz2 On Mon, Jan 31, 2005 at 05:00:50PM -0500, Bob Rossi wrote: > It also tighten's up the MI output command matching, I honestly don't > know how the -break-delete was getting eaten in the regular expression, > unless $pattern happened to have a .*. Oops, in that case, I guess we > aren't really validation much, anything could have come out of GDB, and > it probably would have passed. Your pattern doesn't start with an anchor. -break-delete wasn't eaten; we just started matching after it. -- Daniel Jacobowitz