From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28824 invoked by alias); 1 Apr 2011 17:52:34 -0000 Received: (qmail 28800 invoked by uid 22791); 1 Apr 2011 17:52:33 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Apr 2011 17:52:27 +0000 From: "pedro at codesourcery dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/12630] gdb is picky on method constness in overload resolution X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 01 Apr 2011 17:52:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00001.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12630 --- Comment #1 from Pedro Alves 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 (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 (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.