Re: RFC: MI output during program execution

Nick Roberts
2005-08-15T02:13:35Z

> + if ((strcmp (interpreter_p, "mi") == 0) || (ui_out_is_mi_like_p (uiout)))
> + fputs_unfiltered ("*stopped", raw_stdout);
> + if (ui_out_is_mi_like_p (uiout))
> + {
> + mi_out_put (uiout, raw_stdout);
> + mi_out_rewind (uiout);
> + }
> + fputs_unfiltered ("\n", raw_stdout);

I mean:

+ if ((strcmp (interpreter_p, "mi") == 0) || (ui_out_is_mi_like_p (uiout)))
+ {
+ fputs_unfiltered ("*stopped", raw_stdout);
+ if (ui_out_is_mi_like_p (uiout))
+ {
+ mi_out_put (uiout, raw_stdout);
+ mi_out_rewind (uiout);
+ }
+ fputs_unfiltered ("\n", raw_stdout);
+ }

of course.

Nick