[lldb-dev] Stop reply packet
Abid, Hafiz
Hafiz_Abid at mentor.com
Wed Feb 19 07:39:51 PST 2014
Hi,
If a remote stub does not send the stop reply with thread information, current code in ProcessGDBRemote::SetThreadStopInfo() will not process the stop reply as thread_sp will be null. The patch tries to handle this case by updating the thread list and choosing the first one. LLDB interaction with QEMU gets much better after this patch. Also tested with gdbserver and did not see any issue. Although this control path is not entered in the gdbserver case as it does supply thread information with stop reply packets. OK to apply?
Regards,
Abid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S_Packet.patch
Type: application/octet-stream
Size: 1197 bytes
Desc: S_Packet.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140219/0578612c/attachment.obj>
More information about the lldb-dev
mailing list