aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-04-01 16:26:37 +0000
committerPedro Alves <palves@redhat.com>2011-04-01 16:26:37 +0000
commitd0c4d64237a01d1f05677ebe7bf69290e2fef357 (patch)
tree56a9ef4361a28caf5e95953922dfbe189c30298c
parent3352110bf1be134cbf9373545ccca42b9e16f778 (diff)
downloadgdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.zip
gdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.tar.gz
gdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.tar.bz2
gdb/testsuite/
* gdb.cp/cpexprs.exp (Overloaded methods): No longer try the base::overload(void) method without specifying "const".
-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)} \
- \