From: Tom Tromey Date: Thu, 8 Dec 2011 15:31:20 +0000 (+0000) Subject: * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ea7931936cdd95a066bfc1c1fbf0de0340ce6f;p=binutils-gdb.git * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in condition. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba490fb529e..d5b24fce695 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-12-08 Tom Tromey + + * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in + condition. + 2011-12-07 Stan Shebs * gdb.trace/tfind.exp: Update for output changes. diff --git a/gdb/testsuite/gdb.cp/ovsrch.exp b/gdb/testsuite/gdb.cp/ovsrch.exp index f6ad34bc79c..b75a00cb2af 100644 --- a/gdb/testsuite/gdb.cp/ovsrch.exp +++ b/gdb/testsuite/gdb.cp/ovsrch.exp @@ -30,7 +30,7 @@ proc test_class {class} { } # Test each overload instance twice: once quoted, once unquoted - set conditional1 "if (a == 3)" + set conditional1 "if (a_param == 3)" set conditional2 "if (A::outer::func ())" foreach ovld [array names tests] { set method "${class}::foo ($ovld) const"