From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28368 invoked by alias); 17 Jul 2006 00:37:27 -0000 Received: (qmail 28359 invoked by uid 22791); 17 Jul 2006 00:37:27 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Jul 2006 00:37:24 +0000 Received: from kahikatea.snap.net.nz (p202-124-112-186.snap.net.nz [202.124.112.186]) by viper.snap.net.nz (Postfix) with ESMTP id A9932775C13; Mon, 17 Jul 2006 12:37:21 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id E1BAA1D3550; Mon, 17 Jul 2006 12:36:07 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17594.56182.524945.674557@kahikatea.snap.net.nz> Date: Mon, 17 Jul 2006 00:37:00 -0000 To: Daniel Jacobowitz Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: Testsuite failures In-Reply-To: <20060717003007.GA28575@nevyn.them.org> References: <200607161142.k6GBgPGf020488@elgar.sibelius.xs4all.nl> <17594.13041.576361.598547@kahikatea.snap.net.nz> <20060717001148.GC27967@nevyn.them.org> <17594.55552.720725.217669@kahikatea.snap.net.nz> <20060717003007.GA28575@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.50.37 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00189.txt.bz2 > If you're not in a procedure you're normally at global scope. Must > have been some other problem, maybe quoting. The file already uses > $hex elsewhere. I see the problem now, gdb_expect_list needs "-re": *** annota3.exp 12 Mar 2006 19:42:40 +1300 1.5 --- annota3.exp 17 Jul 2006 12:32:54 +1200 *************** gdb_expect_list "annotation set at level *** 91,103 **** send_gdb "run\n" gdb_expect_list "first run until main breakpoint" "$gdb_prompt$" { ! "\r\n\032\032post-prompt\r\n" "Starting program: .*annota3 \r\n" "\r\n\032\032starting\r\n" "\r\n\032\032breakpoint 1\r\n" "\r\n" ! "Breakpoint 1, main \\(\\) at .*annota3.cc:25\r\n" ! "\r\n\032\032source.*annota3.cc:25:.*:beg:0x\[0-9a-z\]+\r\n" "\r\n\032\032stopped\r\n" } --- 91,105 ---- send_gdb "run\n" gdb_expect_list "first run until main breakpoint" "$gdb_prompt$" { ! -re "\r\n\032\032post-prompt\r\n" "Starting program: .*annota3 \r\n" "\r\n\032\032starting\r\n" "\r\n\032\032breakpoint 1\r\n" "\r\n" ! "Breakpoint 1, " ! "\r\n\032\032frame-begin 0 $hex\r\n" ! "main \\(\\) at .*annota3.cc:25\r\n" ! "\r\n\032\032source.*annota3.cc:25:.*:beg:$hex\r\n" "\r\n\032\032stopped\r\n" } -- Nick http://www.inet.net.nz/~nickrob