[lldb-dev] Preferred protocol for remote debugging backend implementation

Jean-Daniel Dupas devlists at shadowlab.org
Thu Jan 17 01:12:08 PST 2013


Le 17 janv. 2013 à 08:19, Filipe Cabecinhas <filcab at gmail.com> a écrit :

> 
> Hi Benjamin,
> 
> The debugserver protocol is a modified version of the gdbserver protocol.
> I _think_ the only difference is that it supports more packet types, but I don't think there's a document on them.
> 

I don't know if it is up to date, but there is such document:

lldb/docs/lldb-gdb-remote.txt

> Your best bet would be to browse the tools/debugserver/source directory. Specifically RNBRemote.cpp.
> 
> Regards, 
> 
>  Filipe
> 
> 
> On Wednesday, January 16, 2013 at 10:44 PM, Benjamin Kemper wrote:
> 
>> Hi,
>> 
>> I'm working on developing a debugger backend, which currently supports the gdb server protocol (I'm able to connect to it as I connect with gdb to a gdb server). 
>> 
>> I want to add support for lldb also and I've seen that there is support by using the gdb-remote plugin. 
>> 
>> I'm wondering what would be more stable, implementing the debugserver protocol, or simply adapting my current gdb remote protocol from Linux to the latest OSX gdb? 
>> 
>> Any suggestions would be of great help.
>> 
>> Thanks,
>> Benjamin.
>> 
>> 
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu (mailto: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

-- Jean-Daniel








More information about the lldb-dev mailing list