This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: FAIL: gdb.cp/cpexprs.exp: list base::overload(void)
On Friday 01 April 2011 17:09:18, Pedro Alves wrote:
> > or remove them altogether and add a bugzilla entry to track this.
>
> Yeah, I'll do this.
This is now PR c++/12630. I've applied the patch now. Here it
is again, now with CL entry.
Thanks,
--
Pedro Alves
2011-04-01 Pedro Alves <pedro@codesourcery.com>
gdb/testsuite/
* gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
base::overload(void) method without specifying "const".
---
gdb/testsuite/gdb.cp/cpexprs.exp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Index: src/gdb/testsuite/gdb.cp/cpexprs.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.cp/cpexprs.exp 2011-04-01 15:52:15.339770000 +0100
+++ src/gdb/testsuite/gdb.cp/cpexprs.exp 2011-04-01 15:53:18.469770000 +0100
@@ -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)} \
- \