aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/fixsection.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8f9efd1..2f70415 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-06 Joseph Myers <joseph@codesourcery.com>
+
+ * gdb.base/fixsection.exp: Do not include directories in filename
+ in expected message.
+
2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
Add tests for passing of environment variables to inferior.
diff --git a/gdb/testsuite/gdb.base/fixsection.exp b/gdb/testsuite/gdb.base/fixsection.exp
index c83d720..c8db51a 100644
--- a/gdb/testsuite/gdb.base/fixsection.exp
+++ b/gdb/testsuite/gdb.base/fixsection.exp
@@ -60,7 +60,7 @@ if ![runto_main] then {
# set breakpoint at static function static_fun
#
gdb_test "break static_fun" \
- "Breakpoint.*at.* file .*${srcfile}, line.*" \
+ "Breakpoint.*at.* file .*${testfile}\\.c, line.*" \
"breakpoint at static_fun"
#