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

gdb/testsuite/
	* gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
	empty directory in file for breakpoint hit.
This commit is contained in:
Sandra Loosemore 2013-04-03 01:40:19 +00:00
parent c38945423e
commit 0e7a53fca6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
* gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
empty directory in file for breakpoint hit.
2013-03-29 Yao Qi <yao@codesourcery.com>
* gdb.base/completion.exp: Test completion of commands

View File

@ -34,7 +34,7 @@ proc test_class {class} {
set conditional2 "if (A::outer::func ())"
foreach ovld [array names tests] {
set method "${class}::foo ($ovld) const"
set result "Breakpoint (\[0-9\]).*file .*/ovsrch$tests($ovld).*"
set result "Breakpoint (\[0-9\]).*file .*ovsrch$tests($ovld).*"
gdb_test "break $method" $result
gdb_test "break '$method'" $result