]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 3 Apr 2013 01:40:19 +0000 (01:40 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 3 Apr 2013 01:40:19 +0000 (01:40 +0000)
gdb/testsuite/
* gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
empty directory in file for breakpoint hit.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ovsrch.exp

index 20a19fc0770aaf6da41863f6fdcedfbb9a50d607..97285c7727e37d9093abd26df1162a74e81978e6 100644 (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
index f58b1ff730e917309050dacadf3eb5f130fbfb91..559cb68c502727353b56bfcb686821ade5dcae0d 100644 (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