aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2006-05-05 22:45:35 +0000
committerDavid S. Miller <davem@redhat.com>2006-05-05 22:45:35 +0000
commit954de43bb9cc06e0da921116f0f9ecdb217a3f0e (patch)
tree72fe231295ed39619a1b9d28b8063f378cfcfa2d
parentbcc98f888e27c05defb6add71ba74d6d87d7b525 (diff)
downloadgdb-954de43bb9cc06e0da921116f0f9ecdb217a3f0e.zip
gdb-954de43bb9cc06e0da921116f0f9ecdb217a3f0e.tar.gz
gdb-954de43bb9cc06e0da921116f0f9ecdb217a3f0e.tar.bz2
* gdb.base/break.exp: Do not assume a breakpoint on
main will actually be in $srcfile when optimizing.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/break.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e245511..f814cb3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-05 David S. Miller <davem@sunset.davemloft.net>
+
+ * gdb.base/break.exp: Do not assume a breakpoint on
+ main will actually be in $srcfile when optimizing.
+
2006-05-05 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index 4a704fb..13458a9 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -887,7 +887,7 @@ if [target_info exists gdb_stub] {
# test break at function
#
gdb_test "break main" \
- "Breakpoint.*at.* file .*$srcfile, line.*" \
+ "Breakpoint.*at.* file .*, line.*" \
"breakpoint function, optimized file"
#