This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/12630] gdb is picky on method constness in overloadresolution
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 1 Apr 2011 17:52:27 +0000
- Subject: [Bug c++/12630] gdb is picky on method constness in overloadresolution
- Auto-submitted: auto-generated
- References: <bug-12630-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12630
--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-04-01 17:52:21 UTC ---
I was pointed out that "print" is already lax if not quoted:
(gdb) p base::overload(void)
$3 = {int (const base * const)} 0x4005c8 <base::overload() const>
(gdb) p 'base::overload(void)'
No symbol "base::overload(void)" in current context.
(gdb) p base::overload(int)
$5 = {int (const base * const, int)} 0x4005d8 <base::overload(int) const>
(gdb) p 'base::overload(int)'
No symbol "base::overload(int)" in current context.
(gdb)
While list and break aren't. linespecs vs expressions.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.