Re: MI testsuite improvements

Bob Rossi
2005-02-10T19:58:04Z

On Thu, Feb 10, 2005 at 12:46:20PM -0500, Andrew Cagney wrote:
>
> >>I'm ok with this, as I think you noted elsewhere, this has become the
> >>defacto standard. Would you be interested in documenting this?
> >
> >
> >Sure, where thought?
>
> I've no idea.
>
> >>The change should be applied to just mi-* and not mi2-*, and should only
> >>accept plain text on that PTY. @... output on the PTY should be
> >>rejected ("in theory" so should anything on GDB's pty).
> >
> >
> >Just curious, why are you interested in only applying changes to mi-* and
> >not to mi2-*?
>
> We have effectively changed the interface (or its expected use). New
> code should use/expect the PTY, old code should use/expect the @...
> mechanism.

OO, I see, are you saying the mi-* tests will become the new ones, and
the mi2-* are frozen for the mi2-* development cycle?

In order to do this for only the new tests, I'll have to add a new
parameter to mi_gdb_start to tell it to either open or not open a pty
for the inferior. Hope this will be OK.

Thanks,
Bob Rossi