July 08, 2012
Is anybody planning to support the D programming language in lldb?

Currently gdb on osx doesn't support D (name mangling issues on osx even though it works on linux), and anyways lldb offers much more than gdb with interactive debugging via python scripting among other niceties. The gdb patch for D was actually pretty small, so I'm wondering whether there would be any plan for D ?

Please refer to the full post I posted on lldb-dev mailing list:
http://lists.cs.uiuc.edu/pipermail/lldb-dev/2012-July/000986.html
(apologies for cross-posting)

July 08, 2012
"timotheecour" <thelastmammoth@gmail.com> writes:

> Is anybody planning to support the D programming language in lldb?
>
> Currently gdb on osx doesn't support D (name mangling issues on osx even though it works on linux), and anyways lldb offers much more than gdb with interactive debugging via python scripting among other niceties.

Not that I'm a python fan (on the opposite, in fact), but gdb has python
scripting support, too. See
<https://misspent.wordpress.com/2012/03/24/debugging-cc-and-cpython-using-gdb-7s-new-python-extension-support/>,
for instance.

(also, gdb has "-tui", which I'm not sure lldb has)

-- 
The volume of a pizza of thickness a and radius z can be described by the following formula:

pi zz a
July 09, 2012
unfortunately OSX uses an older version of gdb and doesn't support either python scripting nor -tui; and the macports version of gdb (ggdb) doesn't work, even on the simplest segfaulting C program, see http://stackoverflow.com/questions/6092766/gdb-7-segfaulting.

Anyways I still think lldb is the way to go moving forward.

Top | Discussion index | About this forum | D home