From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13097 invoked by alias); 4 Apr 2003 20:41:06 -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 13090 invoked from network); 4 Apr 2003 20:41:06 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by sources.redhat.com with SMTP; 4 Apr 2003 20:41:06 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id h34Kf5627351; Fri, 4 Apr 2003 14:41:05 -0600 Date: Fri, 04 Apr 2003 20:41:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200304042041.h34Kf5627351@duracef.shout.net> To: stcarrez@nerim.fr Subject: Re: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with -DPROTOTYPES Cc: gdb-patches@sources.redhat.com X-SW-Source: 2003-04/txt/msg00067.txt.bz2 I could be wrong, but I don't think you can put comments in the middle of a gdb_expect block like this. + # marker4() is defined at line 46 when compiled with -DPROTOTYPES + -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" { + pass "run until breakpoint set at small function, optimized file" + } I think you have to do this: -re "Breakpoint ... void marker.*" { # marker4() is defined at line 46 when compiled with -DPROTOTYPES pass "run until breakpoint set at small function, optimized file" } Michael C