[lldb-dev] update: lldb-gdbserver on x86_64 linux

Todd Fiala tfiala at google.com
Wed Jan 15 18:52:32 PST 2014


I think you are being generous, Greg ;-)
On Jan 15, 2014 6:21 PM, "Greg Clayton" <gclayton at apple.com> wrote:

> This is actually the process ID (yes the GDB remote docs are not clear on
> this) of the process that lldb-gdbserver is controlling. Returning 0 means
> there is no process yet and LLDB till treat it as you are connected, but
> not yet debugging anything. So return the PID to this then you will get a
> '?' packet for a stop reply where you will tell LLDB why you stopped. You
> should respond with "$T11" which is hex 0x11 which is SIGSTOP, or SIGINT.
>
>
> On Jan 15, 2014, at 5:25 PM, Todd Fiala <tfiala at google.com> wrote:
>
> > <   6> read packet: $qC#b4
> > # lgs responds with thread id 0. This might be right.
> > <   7> send packet: $QC0#c4
> >
>
> Other than that you are getting close!
>
> Greg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140115/46b69332/attachment.html>


More information about the lldb-dev mailing list