This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/13363] gdb crash when I try to print a std::queue inpython pretty printer


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]