aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-10-07 00:24:38 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-10-07 00:24:38 +0000
commit8031b6f821f37552bc238e08af0cd5d9d2da9abd (patch)
tree7bf95830aae1c07a43521957b2d98ad79aeeb828 /gdb
parent9ad26a41a72c329da039c5b52de8e0211cc933eb (diff)
downloadgdb-8031b6f821f37552bc238e08af0cd5d9d2da9abd.zip
gdb-8031b6f821f37552bc238e08af0cd5d9d2da9abd.tar.gz
gdb-8031b6f821f37552bc238e08af0cd5d9d2da9abd.tar.bz2
* gdb.base/fixsection.exp: Do not include directories in filename
in expected message.
Diffstat (limited to 'gdb')
-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"
#