[Lldb-commits] [PATCH] D23604: gdb-remote: Centralize thread specific packet handling
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 17 05:01:48 PDT 2016
labath created this revision.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.
Before this, each function had a copy of the code which handled appending of the thread suffix to
the packet (or using $Hg instead). I have moved that code into a single function and made
everyone else use that. The function takes the partial packet as a StreamString rvalue reference,
to avoid a copy and to remind the users that the packet will have undeterminate contents after
This also fixes the incorrect formatting of the QRestoreRegisterState packet in case thread
suffix is not supported.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16012 bytes
Desc: not available
More information about the lldb-commits