This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp whentest compiled with -DPROTOTYPES


The following reply was made to PR testsuite/1096; it has been noted by GNATS.

From: Andrew Cagney <ac131313 at redhat dot com>
To: gdb-gnats at sources dot redhat dot com
Cc:  
Subject: Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp when
 test compiled with -DPROTOTYPES
Date: Tue, 01 Apr 2003 23:04:59 -0500

 >  +# marker4() is defined at line 46 when compiled with -DPROTOTYPES
 > +# and at line 51 otherwise.
 >   gdb_expect {
 >       -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:51\[\r\n\]+51\[\t \]+void marker4.*" {
 >         pass "run until breakpoint set at small function, optimized file"
 >       }
 >       -re "Breakpoint $decimal, $hex in marker4 \\(d=177601976\\) at .*$srcfile:51\[\r\n\]+51\[\t \]+void marker4.*" {
 > +      pass "run until breakpoint set at small function, optimized file"
 > +    }
 > +    -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" {
 
 Yes, ok, but move the comment to the relevant "pass".  Could also change 
 the message[s] to something like:
 
 pass "run until breakpoint set at small function, optimized file (line 46)"
 
 Andrew
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]