aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.exp7
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ab12f22..9db1d99 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-01 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
+ base::overload(void) method without specifying "const".
+
2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.arch/thumb-singlestep.S: New file.
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp
index 0d6dd05..0776456 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.exp
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp
@@ -196,12 +196,7 @@ add {base::~base} \
- \
-
-# Overloaded methods (all are const -- we try to use the void
-# method with and without specifying "const")
-add {base::overload(void)} \
- {int (const base * const)} \
- - \
- {base::overload(void) const}
+# Overloaded methods (all are const)
add {base::overload(void) const} \
{int (const base * const)} \
- \