From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29483 invoked by alias); 13 Sep 2002 22:01:56 -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 29466 invoked from network); 13 Sep 2002 22:01:56 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 13 Sep 2002 22:01:56 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17pzRn-0002nA-00 for ; Fri, 13 Sep 2002 18:01:59 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17pyVz-0005nZ-00 for ; Fri, 13 Sep 2002 18:02:15 -0400 Date: Fri, 13 Sep 2002 15:01:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: Expect fails to recognize regexp Message-ID: <20020913220215.GB22097@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20020913200643.I1574@cygbert.vinschen.de> <15746.11507.688049.368955@localhost.redhat.com> <20020913232250.J1574@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020913232250.J1574@cygbert.vinschen.de> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-09/txt/msg00167.txt.bz2 On Fri, Sep 13, 2002 at 11:22:50PM +0200, Corinna Vinschen wrote: > On Fri, Sep 13, 2002 at 02:22:43PM -0400, Elena Zannoni wrote: > > > > Add > > > > exp_internal 1 > > and > > exp_internal 0 > > > > around the particualar send/expect interaction, then you will exacly > > see in the output what expect think it matched. > > > > That's the only way I know of making sense of stuff like this. > > > > Elena > > I tried it but it didn't add anything to the output. Nothing! > > I added it this way: Are you sure you're in the right branch of the IF? Does a send_user there get displayed? > Was that ok or did I do something wrong? Looks right. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer