aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent156bffd09676ad80bde590b63f8b8f1c15d838ad (diff)
downloadfsf-binutils-gdb-b8abfd5827ed22492422d2e771e62cdb3f7303b3.zip
fsf-binutils-gdb-b8abfd5827ed22492422d2e771e62cdb3f7303b3.tar.gz
fsf-binutils-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')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/cplabel.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 50157f6..e7da305 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
+ * gdb.cp/cplabel.exp: Allow empty directory in file reported
+ for breakpoint location.
+
+2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
+
* gdb.linespec/linespec.exp: Make dir/file:line tests
conditional for non-remote hosts only.
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\."
}
}