aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-04-05 13:35:25 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-04-05 13:35:25 +0000
commitf1f02ee4e40571a709bcd9e8f1e97555ff506005 (patch)
tree969a24a71d33d935609b0fe26ce3b819762faef4
parentabdf8f8704a10cfe0734cdfac60af29340a0b3d2 (diff)
downloadgdb-f1f02ee4e40571a709bcd9e8f1e97555ff506005.zip
gdb-f1f02ee4e40571a709bcd9e8f1e97555ff506005.tar.gz
gdb-f1f02ee4e40571a709bcd9e8f1e97555ff506005.tar.bz2
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/break.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 55f631d..981ba36 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index fbc0e11..38820ec 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -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"
}