|
From: | Jacob Bachmeyer |
Subject: | Re: PATCH: simplify regular expressions |
Date: | Tue, 11 Dec 2018 18:33:01 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |