aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-04-04 20:03:46 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-04-04 20:03:46 +0000
commit8dfb4cf0914918a83792055b7a218c23c0934d76 (patch)
treef24af827bdce2d1b7d2fd8afeb9727c4fe58c3de /gdb
parent50c46a0d6f9207a8ce22b29bb537f549c688a2ff (diff)
downloadgdb-8dfb4cf0914918a83792055b7a218c23c0934d76.zip
gdb-8dfb4cf0914918a83792055b7a218c23c0934d76.tar.gz
gdb-8dfb4cf0914918a83792055b7a218c23c0934d76.tar.bz2
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
Diffstat (limited to 'gdb')
-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 0cadc56..a432dd6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index fbc0e11..eb52047 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"
}
+ # 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"
}