[lldb-dev] lldb remote protocol

Greg Clayton gclayton at apple.com
Mon Aug 12 11:27:30 PDT 2013


Yes it does disable checksums as the protocol is considered reliable enough to disable acks/nacks, so it is assumed to not require checksums.


On Aug 11, 2013, at 4:04 PM, Félix Cloutier <felixcca at yahoo.ca> wrote:

> Got it, working on that.
> 
> Does QStartNoAckMode also disable checksums? In every example in the file, checksums are #00 (and indeed lldb sends me packets with that same checksum), but there's no mention of that in the document.
> 
> Félix
> 
> Le 2013-08-10 à 14:49:13, "Malea, Daniel" <daniel.malea at intel.com> a écrit :
> 
>> There is a text file in the doc/ directory that explains the LLDB enhancements to the GDB remote protocol.
>> 
>> Good luck,
>> Dan
>> 
>> On 2013-08-10, at 5:40 PM, "Félix Cloutier" <felixcca at yahoo.ca> wrote:
>> 
>>> I am developing an emulator program and I would like to implement a debugger stub (over TCP) to which I could connect using the remote debugging features of lldb to assist me. GDB documents its communication protocol, but I'm not a fan of how every concern happens at the same level (especially reliability), so I was hoping the LLDB protocol could be more modern.
>>> 
>>> Is there documentation for it? The commands seem to be declared in tools/debugserver/source/RNBRemote.h, but I don't expect to implement all of it and I'm not sure what's absolutely necessary and what's not so necessary, and I'm not sure how packets are formed.
>>> 
>>> Is this documented anywhere, or is the best way to grab the source and check for myself?
>>> 
>>> Félix
>>> _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list