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 c++/16752] Crash when loading symbols


https://sourceware.org/bugzilla/show_bug.cgi?id=16752

--- Comment #8 from Gary Benson <gbenson at redhat dot com> ---
Adrian, it's likely the commit that "fixed" bug 14963 is what's causing this
segfault, so I'd check that first.  

Also, be careful using c++filt as a reference, it uses the same code
(libiberty) as GDB, but it's statically linked so there can be version skew. 
If one works and the other doesn't then that is the likely cause.

I also don't know if c++filt is even correct in how it demangles these symbols.
I had a fix that stopped the recursion (and hence the segfaults) but it also
changed the demangled results, and I don't know C++ or demangling nearly well
enough to say whether either demangled form is correct.

-- 
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]