From b8abfd5827ed22492422d2e771e62cdb3f7303b3 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Thu, 4 Apr 2013 21:01:40 +0000 Subject: [PATCH] 2013-04-04 Sandra Loosemore gdb/testsuite/ * gdb.cp/cplabel.exp: Allow empty directory in file reported for breakpoint location. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.cp/cplabel.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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\." } } -- 2.30.2