From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16188 invoked by alias); 12 Feb 2013 17:10:33 -0000 Received: (qmail 16153 invoked by uid 48); 12 Feb 2013 17:10:32 -0000 From: "andre.poenitz at digia dot com" To: gdb-prs@sourceware.org Subject: [Bug python/14235] verbose RTTI message polluting traces Date: Tue, 12 Feb 2013 17:10: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: andre.poenitz at digia 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: CC 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/msg00227.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14235 Andre Poenitz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andre.poenitz at digia dot | |com --- Comment #5 from Andre Poenitz 2013-02-12 17:10:30 UTC --- The following reproduces the issue for me: void unused(const void *first,...) { (void) first; } void breakHere() {} int main() { struct BaseClass { virtual ~BaseClass() {} }; struct DerivedClass : BaseClass {}; DerivedClass d; BaseClass *b1 = &d; BaseClass &b2 = d; unused(&b1, &b2); breakHere(); return 0; } Compile, start, do python print gdb.parse_and_eval("b1") python print gdb.parse_and_eval("b2") The problem goes away if the struct definitions are moved out of main(). gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 GNU gdb (GDB) 7.5-ubuntu -- 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.