[Lldb-commits] [PATCH][RFC] Linux DynamicLoader plugin.

Stephen Wilson wilsons at start.ca
Sun Jan 16 12:25:22 PST 2011


Greg Clayton <gclayton at apple.com> writes:
> Looks good, and great news that linux now has a dynamic loader.

Committed in r123592.

> The nice thing is if you want remote linux debugging, we can modify
> the ProcessGDBRemote plug-in, on linux by default, to use this dynamic
> loader plug-in since they are completely pluggable. We would need to
> just write a linux remote debug server. The current "debugserver"
> project really needs to be re-written from the ground up using the
> classes we have in LLDB (StringExtractor, GDBRemoteCommunication,
> StringExtractorGDBRemote).

Out of curiosity, would you be OK with a debug server written in plain
C?  Main reason is that on many embedded systems a C++ runtime is not
available.  I do not have any plans at the moment to work on it, I am
just curious if such an effort could be folded into LLDB proper instead
of being an independent project.

> One might also be able to make slight modifications to the existing
> GDB gdbserver binary (from the current GDB sources) for linux, and use
> it as the remote stub to connect to with LLDB!

That is an interesting option.  Will keep it in mind.


Take care,

--
steve



More information about the lldb-commits mailing list