[Webkit-unassigned] [Bug 159919] Not possible to GDB WebKitGtk+ 2.13.3: demangler-warning: unable to demangle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 12:40:17 PDT 2016


--- Comment #8 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #7)
> The bug is definitive this one:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159 and is still present in
> last GDB git master.
> I tried using lldb (LLVM debugger) and its also crashing (segfaults)...
> So... at least on my environment I'm complete unable to use a debugger on
> current trunk of WebKit with Debug builds.
> Is anybody here able to work with gdb/llvdb and debug builds?

BTW, adrian perez pointed me to this very helpful trick:

 * Put in your ~/.gdbinit file:
set demangle-style none
 * Then pipe the output of GDB through c++filt (a stand-alone demangler).

It works for me.

I see that the WebKit tooling for generating GDB crash logs is already piping the output through c++filt. So I'm going to just set this line on the GTK+ bots ~/.gdbinit files.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160801/cc54d29a/attachment.html>

More information about the webkit-unassigned mailing list