aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-04-04 21:01:40 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-04-04 21:01:40 +0000
commitb8abfd5827ed22492422d2e771e62cdb3f7303b3 (patch)
tree4302126c9ca21ffa6d80789fe7cf5ad1ac48d5bd /gdb/testsuite/gdb.cp
parent156bffd09676ad80bde590b63f8b8f1c15d838ad (diff)
downloadgdb-b8abfd5827ed22492422d2e771e62cdb3f7303b3.zip
gdb-b8abfd5827ed22492422d2e771e62cdb3f7303b3.tar.gz
gdb-b8abfd5827ed22492422d2e771e62cdb3f7303b3.tar.bz2
2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/ * gdb.cp/cplabel.exp: Allow empty directory in file reported for breakpoint location.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/cplabel.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/cplabel.exp b/gdb/testsuite/gdb.cp/cplabel.exp
index 1bfe61b..d3a6118 100644
--- a/gdb/testsuite/gdb.cp/cplabel.exp
+++ b/gdb/testsuite/gdb.cp/cplabel.exp
@@ -35,6 +35,6 @@ foreach m $methods {
foreach l $labels {
set line [gdb_get_line_number "$m:$l"]
gdb_test "break foo::$m:$l" \
- "Breakpoint $decimal at $hex: file .*/$srcfile, line $line\."
+ "Breakpoint $decimal at $hex: file .*$srcfile, line $line\."
}
}