From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18223 invoked by alias); 15 Feb 2013 21:26:10 -0000 Received: (qmail 18197 invoked by uid 48); 15 Feb 2013 21:26:09 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/14235] verbose RTTI message polluting traces Date: Fri, 15 Feb 2013 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at redhat 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 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: 2013-q1/txt/msg00247.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14235 --- Comment #9 from Tom Tromey 2013-02-15 21:26:08 UTC --- (In reply to comment #8) > It isn't completely clear to me that this would work. > For example, could there be 2 symbols with this name in different CUs? > One in a function and one in a namespace? Due to name mangling differences it is possible to create a file like that. This compiles and links just fine: q1.cc: namespace main { struct Z { virtual void x(); }; }; void main::Z::x () { } main::Z z; int f() { return 0; } q2.cc: extern int f(); int main() { struct Z { virtual ~Z() { } }; Z z; return f(); } -- 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.