* gdb.base/break.exp: marker4() is defined at line 46 when compiled

with -DPROTOTYPES.
This commit is contained in:
Stephane Carrez 2003-04-04 20:03:46 +00:00
parent 50c46a0d6f
commit 8dfb4cf091
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
2003-04-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Make "print add" messages unique.

View File

@ -914,6 +914,10 @@ gdb_expect {
-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"
}
# 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"
}
-re ".*$gdb_prompt " {
fail "run until breakpoint set at small function, optimized file"
}