From 0e7a53fca6e4e7bb37f045895df6a855fb2f451e Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 3 Apr 2013 01:40:19 +0000 Subject: [PATCH] 2013-04-02 Sandra Loosemore gdb/testsuite/ * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow empty directory in file for breakpoint hit. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.cp/ovsrch.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 20a19fc077..97285c7727 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-04-02 Sandra Loosemore + + * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow + empty directory in file for breakpoint hit. + 2013-03-29 Yao Qi * 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 f58b1ff730..559cb68c50 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