[Lldb-commits] REVIEW: Compile and sign debugserver binary using the Makefiles

Jason Molenda jmolenda at apple.com
Fri Apr 5 14:37:46 PDT 2013

On Apr 5, 2013, at 12:38 PM, Filipe Cabecinhas <filcab at gmail.com> wrote:

>> I moved debugserver.cpp and debugserver-entitlements.plist from source/... onto driver/...
> I think this is a good idea. Wish I'd thought of that...
> I couldn't see any other way to do it with llvm's Makefile build system.
> Later on, maybe we can make this a normal LLDB library, and/or split it into several different libraries.
> There's lots of abstracting to do, there. debugserver.cpp and the whole DNB layer pretty much scream “Mac OS X only” (Mach stuff + BSD stuff).
> The best plan would be to make a new, plugin based, lldb-server (or something), in the regular LLDB sources, and create a binary like lldb, with some plugins hard-coded depending on compile-time feature detection. Greg Clayton has mentioned that in the mailing list, but it will take time. I suppose people will want to do that when they want to enable lldb remote debugging on Linux/FreeBSD/whatever, for example.

Yeah, debugserver was initially structured to be multi-platform but being implemented for only one system meant that dependencies slowly crept in, and after a while it becomes "why are we going through so many abstraction layers for no reason?" and it's gone downhill from there. :/


More information about the lldb-commits mailing list