From: Sandra Loosemore Date: Thu, 4 Apr 2013 21:01:40 +0000 (+0000) Subject: 2013-04-04 Sandra Loosemore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8abfd5827ed22492422d2e771e62cdb3f7303b3;p=binutils-gdb.git 2013-04-04 Sandra Loosemore gdb/testsuite/ * gdb.cp/cplabel.exp: Allow empty directory in file reported for breakpoint location. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 50157f6e3c6..e7da3055423 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-04-04 Sandra Loosemore + + * gdb.cp/cplabel.exp: Allow empty directory in file reported + for breakpoint location. + 2013-04-04 Sandra Loosemore * gdb.linespec/linespec.exp: Make dir/file:line tests diff --git a/gdb/testsuite/gdb.cp/cplabel.exp b/gdb/testsuite/gdb.cp/cplabel.exp index 1bfe61ba5d4..d3a6118b53b 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\." } }