2013-04-04 Sandra Loosemore <sandra@codesourcery.com>

gdb/testsuite/

	* gdb.cp/cplabel.exp: Allow empty directory in file reported
	for breakpoint location.
This commit is contained in:
Sandra Loosemore 2013-04-04 21:01:40 +00:00
parent 156bffd096
commit b8abfd5827
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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\."
}
}