Re: is the protocol between ddd and gdb documented on Linux?

Michael Eager <[email protected]> Sat, 31 Jan 2026 14:34:04 -0800
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
On 1/30/26 4:27 PM, Basile Starynkevitch wrote:
> Hello all,
> 
> My Debian 13 supplied ddd has version 3.3.12 (I am developing a GPL licensed inference engine in C++ for Linux).
> 
> How does it communicate with GDB? where are documented the protocols for communication
> (e.g. difference with gdb -tui)
> 
> Can I use GDB-17.1 with ddd 3.3.12 or should I recompile ddd 3.4.1 from its tarball?
> 
> See related questions https://sourceware.org/pipermail/gdb/2026-January/052030.html
> & https://sourceware.org/pipermail/gdb/2026-January/052039.html
> & https://sourceware.org/pipermail/gdb/2026-January/052067.html
> 
> Thanks
> 
> NB. I am also seeking help on design and implementations of open source inference engines in C++

Please use DDD 3.4.1, available at https://www.gnu.org/software/ddd/.

DDD sends text commands to GDB and parses the responses, using a PTY. 
See "man 7 pty".  There is no specific protocol.

With regard to the messages you referenced, these are off topic for this 
mailing list.  They would be better addressed on the GDB-help mailing list.

-- 
Michael Eager