Re: PATCH: simplify regular expressions

Jacob Bachmeyer <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.