This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: MI output during program execution
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Aug 2005 14:14:42 +1200
- Subject: Re: RFC: MI output during program execution
> + 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