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.
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.
Your best bet would be to browse the tools/debugserver/source directory. Specifically RNBRemote.cpp.
Regards,
Filipe
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
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@cs.uiuc.edu (mailto:lldb-dev@cs.uiuc.edu)
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
-- Jean-Daniel
debugserver uses an extended version of the GDB remote protocol. All extension packets are described in a file that is checked into the SVN repository:
svn cat http://llvm.org/svn/llvm-project/lldb/trunk/docs/lldb-gdb-remote.txt
Let me know if you have any questions.
Greg Clayton