<p dir="ltr">I think you are being generous, Greg ;-)</p>
<div class="gmail_quote">On Jan 15, 2014 6:21 PM, "Greg Clayton" <<a href="mailto:gclayton@apple.com">gclayton@apple.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
<br>
On Jan 15, 2014, at 5:25 PM, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:<br>
<br>
> < 6> read packet: $qC#b4<br>
> # lgs responds with thread id 0. This might be right.<br>
> < 7> send packet: $QC0#c4<br>
><br>
<br>
Other than that you are getting close!<br>
<br>
Greg<br>
<br>
</blockquote></div>