aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/ovsrch.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ba490fb..d5b24fc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-08 Tom Tromey <tromey@redhat.com>
+
+ * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
+ condition.
+
2011-12-07 Stan Shebs <stan@codesourcery.com>
* 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 f6ad34b..b75a00c 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"