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 <[email protected]> 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 _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
