This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: tests for MI commands
> > I think that we should either remove them (my preference) or rewrite
> > parts of GDB so that the different MI levels act as independent
> > interpreters (which currently I am certainly not going to offer to do).
> > If they were independent then clearly changing the behaviour of the
> > current level, as I have just done, wouldn't break the tests for level 2.
>
> Incorrect. Please read again my description of how you broke the mi2
> tests. It has nothing to do with your changes to the MI output and
> everything to do with your changes to the test cases.
Yes, you're right, I was too eager and my analysis is wrong for this case. My
original point, that separate mi2 tests are not worthwhile, still stands,
however.
Nick