public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "pmuldoon at redhat dot com" <sourceware-bugzilla@sourceware.org> 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:57:00 -0000 [thread overview] Message-ID: <bug-13363-4717-XprCDJ49K2@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-13363-4717@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=13363 --- Comment #4 from Phil Muldoon <pmuldoon at redhat dot com> 2011-10-31 14:57:42 UTC --- [pmuldoon@localhost gdb]$ rpm -q gcc gcc-4.5.1-4.fc14.x86_64 I have above ^^. I do not have access to a windows based machine, so I am trying to figure out the next step. There is a logic error in the Python GDB code that should be a NULL check for: type_name = cp_comp_to_string (demangled, 10); Before passing type_name to lookup_typename. This logic is in typy_lookup_type. That will avoid the crash, but GDB will still not have a typename to lookup. It would help if we could track down the particular GCC revision where this works, adn does not work, so we can attempt to find if a GCC bug has been filed. -- 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.
next prev parent reply other threads:[~2011-10-31 14:57 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-10-31 8:48 [Bug python/13363] New: " asmwarrior at gmail dot com 2011-10-31 11:42 ` [Bug python/13363] " pmuldoon at redhat dot com 2011-10-31 12:35 ` pmuldoon at redhat dot com 2011-10-31 12:45 ` pmuldoon at redhat dot com 2011-10-31 14:35 ` asmwarrior at gmail dot com 2011-10-31 14:57 ` pmuldoon at redhat dot com [this message] 2011-11-01 1:41 ` asmwarrior at gmail dot com 2011-11-01 5:00 ` xunxun1982 at gmail dot com 2011-11-01 8:31 ` pmuldoon at redhat dot com 2011-11-01 11:26 ` pmuldoon at redhat dot com 2011-11-01 11:28 ` pmuldoon at redhat dot com 2011-11-01 11:58 ` asmwarrior at gmail dot com 2011-11-01 12:56 ` asmwarrior at gmail dot com 2011-11-04 11:57 ` cvs-commit at gcc dot gnu.org 2011-11-04 12:09 ` pmuldoon at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-13363-4717-XprCDJ49K2@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).