From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15947 invoked by alias); 11 Dec 2012 16:56:42 -0000 Received: (qmail 15867 invoked by uid 48); 11 Dec 2012 16:56:20 -0000 From: "david.simmonds at igmarkets dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/55649] libstdcxx gdb python pretty printer for tr1 not working Date: Tue, 11 Dec 2012 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: david.simmonds at igmarkets dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01130.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55649 Dave Simmonds changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Dave Simmonds 2012-12-11 16:56:19 UTC --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #0) > > > The Tr1UnorderedMapPrinter pretty printer, and other tr1 pretty printers look > > > for variables starting with _M_, the actual variable names start with m_ > > > > No they don't: > > http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/include/tr1/unordered_map.h?view=markup > > Thanks for your reply, but the link isn't showing any variables with _M_ or > with m_, so doesn't help. Why do you say they don't? Certainly it's not working > for me as is, and if I create my own pretty printer with _M_ replaced by m_ it > works. OK, I looked at the include file, I compiled against gcc 4.1.2, which has m_, 4.7.2 has _M_ Problem is that redhat el5 comes with gcc 4.1.2 and a pretty printer with _M_ which doesn't work togther