From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21488 invoked by alias); 31 Oct 2011 14:35:23 -0000 Received: (qmail 21348 invoked by uid 22791); 31 Oct 2011 14:35:22 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_DC,TW_SM X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Oct 2011 14:35:09 +0000 From: "asmwarrior at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug python/13363] gdb crash when I try to print a std::queue in python pretty printer Date: Mon, 31 Oct 2011 14:35: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: asmwarrior at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: pmuldoon at redhat dot com 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" Content-Transfer-Encoding: quoted-printable 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: 2011-q4/txt/msg00171.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D13363 --- Comment #3 from asmwarrior 2011-10-31 14:= 35:03 UTC --- stl.gdb is below: python import sys sys.path.insert(0, '') from libstdcxx.v6.printers import register_libstdcxx_printers register_libstdcxx_printers (None) end I have a folder libstdcxx from gcc trunk. Note: if the program build from gcc 4.6.2, then gdb no crash, but if the te= st program is built from gcc 4.4.x, then gdb will crash on =E2=80=9Cprint std:= :queue=E2=80=9D. or =E2=80=9Cprint std::stack=E2=80=9D. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.