diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2013-04-03 01:40:19 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2013-04-03 01:40:19 +0000 |
commit | 0e7a53fca6e4e7bb37f045895df6a855fb2f451e (patch) | |
tree | 2e9165cf4ee86987b66135ba47a3381cc88001d8 | |
parent | c38945423e530a0498d68946951c2fecefa69dbf (diff) | |
download | gdb-0e7a53fca6e4e7bb37f045895df6a855fb2f451e.zip gdb-0e7a53fca6e4e7bb37f045895df6a855fb2f451e.tar.gz gdb-0e7a53fca6e4e7bb37f045895df6a855fb2f451e.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/ovsrch.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 20a19fc..97285c7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.cp/ovsrch.exp b/gdb/testsuite/gdb.cp/ovsrch.exp index f58b1ff..559cb68 100644 --- a/gdb/testsuite/gdb.cp/ovsrch.exp +++ b/gdb/testsuite/gdb.cp/ovsrch.exp @@ -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 |