This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB/MI Best Practices
- From: George Russell <george at codeplay dot com>
- To: gdb at sourceware dot org
- Date: Mon, 19 Oct 2009 10:04:34 +0200
- Subject: GDB/MI Best Practices
Hi all,
Is there a set of best practices for the use of the GDB/MI protocol to
control a gdb instance from a graphical debugger?
I am curious about the best approaches (and any experience reports) to
deal with issues such as:
*communication with the gdb instance (e.g. to use pipes or pty or ?)
*supporting successive gdb versions (e.g. where -thread-info is
supported, vs not) i.e. fallbacks for omitted MI constructs
*pitfalls in using GDB and GDB/MI
Is there a catalogue of debuggers known to use MI? I can think of XCode
(but that uses Apple's GDB, whose MI is different?) and Eclipse CDT.
Thanks,
George Russell.