Re: [RFA/MI testsuite] Add mi_runto

Keith Seitz
2002-09-10T14:49:14Z

On Tue, 10 Sep 2002, Elena Zannoni wrote:

> Yes, please. Thanks. It will be easier to maintain if we have only one
> copy of these functions.

UGH. Now I remember why I did this... mi_run_to_helper expects an MI
command to execute, either "exec-continue" or "exec-run". There is no way
for us to know this if we are attempting to run the inferior for the first
time (or re-run it). This is usually handled by mi_run_cmd, and that is
the difference between these to functions. They are essentially the same,
otherwise. The best I can do is put the mi_gdb_test for the stop in
anohter proc, but I think that would just mess the code up even more.
(mi_step and mi_next are okay, though).

Of course, it's your call.
Keith