This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp whentest compiled with -DPROTOTYPES
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Stephane dot Carrez at worldnet dot fr
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 2 Apr 2003 04:08:00 -0000
- Subject: Re: testsuite/1096: [RFA]: Fix testsuite/gdb.base/break.exp whentest compiled with -DPROTOTYPES
- Reply-to: Andrew Cagney <ac131313 at redhat dot com>
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