From: Nick Roberts <nickrob@snap.net.nz>
To: Bob Rossi <bob@brasko.net>
Cc: Daniel Jacobowitz <drow@false.org>,
Mark Kettenis <kettenis@gnu.org>,
gdb@sourceware.org
Subject: Re: MI-related testsuite regressions
Date: Mon, 27 Jun 2005 14:07:00 -0000 [thread overview]
Message-ID: <17088.2134.821855.942376@farnswood.snap.net.nz> (raw)
In-Reply-To: <20050627135610.GA19376@white>
> > -i=mi sets mi_version to 2 in my copy:
> >
> > interp_add (interp_new (INTERP_MI, NULL, mi_out_new (2), &procs));
> >
> > and
> >
> > if (current_interp_named_p (INTERP_MI1))
> > deprecated_command_loop_hook = mi1_command_loop;
> > else if (current_interp_named_p (INTERP_MI2))
> > deprecated_command_loop_hook = mi2_command_loop;
> > else if (current_interp_named_p (INTERP_MI3))
> > deprecated_command_loop_hook = mi3_command_loop;
> > else
> > deprecated_command_loop_hook = mi2_command_loop;
> >
> >
> > As far as I can see mi3 does nothing that mi2 doesn't do.
>
> I think the ideology is that mi3 is allowed to change in such a way that
> mi2 is not. So, all new features go into mi3, while mi2 should remain
> stable and unchanged, except for bug fixes and minor new improvements
> that are backwards compatible.
If thats the case, shouldn't the code read:
interp_add (interp_new (INTERP_MI, NULL, mi_out_new (3), &procs));
and
if (current_interp_named_p (INTERP_MI1))
deprecated_command_loop_hook = mi1_command_loop;
else if (current_interp_named_p (INTERP_MI2))
deprecated_command_loop_hook = mi2_command_loop;
else if (current_interp_named_p (INTERP_MI3))
deprecated_command_loop_hook = mi3_command_loop;
else
deprecated_command_loop_hook = mi3_command_loop;
as it stands the mi-*.exp don't test mi3.
Nick
next prev parent reply other threads:[~2005-06-27 14:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 8:16 Mark Kettenis
2005-06-27 12:00 ` Nick Roberts
2005-06-27 13:00 ` Daniel Jacobowitz
2005-06-27 13:53 ` Nick Roberts
2005-06-27 13:56 ` Bob Rossi
2005-06-27 13:59 ` Daniel Jacobowitz
2005-06-27 14:07 ` Nick Roberts [this message]
2005-06-27 14:31 ` Daniel Jacobowitz
2005-06-27 20:53 ` Nick Roberts
2005-06-27 21:03 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17088.2134.821855.942376@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=bob@brasko.net \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
--cc=kettenis@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox