* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
This commit is contained in:
parent
abdf8f8704
commit
f1f02ee4e4
|
@ -1,3 +1,8 @@
|
|||
2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
|
||||
with -DPROTOTYPES.
|
||||
|
||||
2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
* gdb.base/break.exp: Revert last patch.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
-re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" {
|
||||
# marker4() is defined at line 46 when compiled with -DPROTOTYPES
|
||||
pass "run until breakpoint set at small function, optimized file (line 46)"
|
||||
}
|
||||
-re ".*$gdb_prompt " {
|
||||
fail "run until breakpoint set at small function, optimized file"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue