Pedro Alves wrote:
On 12/10/2018 10:30 PM, Jacob Bachmeyer wrote:
Should DejaGnu eventually support GDB's MI mode, possibly in another module?
Would this be for GDB's own testing, or for something else?
The intent was (future) use of GDB as a tool within DejaGnu as part of
tests for something else. Probably as a remote channel type, possibly
with both transfer and control capabilities.
GDB already has MI testcases driven by dejagnu. Most live under
gdb/testsuite/gdb.mi/
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=tree;f=gdb/testsuite/gdb.mi
We don't have an actual TCL MI parser though, MI testing is mostly
regular expression based.
That might be a good thing for GDB: an MI parser would be another
possible source of bugs, while the tests for MI itself really need to
test MI, not their own parser.
-- Jacob
_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu