[lldb-dev] [Patch] Implement run length encoding
Abid, Hafiz
Hafiz_Abid at mentor.com
Tue Aug 27 04:08:05 PDT 2013
Hi All,
This patch implements the run-length encoding used by the gdb protocol. As gdb reads data 1 byte at a time, it is able to handle RLE as it is putting data in the buffer. We read data in a chunk so I check for RLE on a packet when we have detected its boundary. Tested by running LLDB with gdbserver and also by manually inspecting the packet logs from both sides. Is it ok?
Regards,
Abid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rle.patch
Type: application/octet-stream
Size: 3331 bytes
Desc: rle.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130827/95852a61/attachment.obj>
More information about the lldb-dev
mailing list