[Bug c++/12630] gdb is picky on method constness in overload resolution
pedro at codesourcery dot com
sourceware-bugzilla@sourceware.org
Fri Apr 1 17:52:00 GMT 2011
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.
More information about the Gdb-prs
mailing list