[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 13 13:13:28 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=8172


camille at bountysource.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |camille at bountysource.com


--- Comment #10 from camille at bountysource.com 2014-02-13 13:13:18 PST ---
To anyone working on this, some notes from David Nadlinger via email --

While the patch I was testing would fix the reported issue (missing
mangled names in debuggers on OS X) in conjunction with GDB 7.1+, it
would not be enough to resolve the issue to general satisfaction, as
recent GDB versions are not available from Apple, and using upstream
(vanilla GNU) gdb comes with its own share of shortcomings.

I'd expect a fix eligible for collecting the bounty to offer some way
of pretty-printing symbols in LLDB, which is pushed by Apple as a GDB
replacement, and is in the process of becoming the de-facto standard
debugger on OS X. This could either be done by directly adding the
support to the upstream LLDB project, or by providing some kind of
hooking or wrapper script adding that functionality. Last time I
checked, LLDB, though extensively scriptable, didn't offer direct
support for adding external name demangling routines, which is why I
didn't continue work on the issue so far, although this restriction
could certainly be removed or worked around.

I'm in a hurry right now, but please feel free to relay the above to
the bug tracker.

Best,
David

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list