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: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: nickrob at snap dot net dot nz
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 18 Aug 2005 23:19:11 +0200 (CEST)
- Subject: Re: RFC: MI output during program execution
- References: <17155.50463.475238.328408@farnswood.snap.net.nz>
> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Thu, 18 Aug 2005 11:15:43 +1200
>
> I've updated my previous patch to use
> mi_insert/mi_remove_notify_hooks instead of the condition (strcmp
> (interpreter_p, "mi") == 0). This mechanism could be used more
> pervasively with ui_out_is_mi_like_p to give furher MI output e.g
> reason for stopping. It could also be used for any event
> notification that is developed for MI. It might not work with true
> asynchronous behaviour but in that case the existing suppression of
> queries using mi_interp_query_hook must also fail.
If it is decided that this is the way to go, I think you should try to
push all of the code into MI files and just export a single function
that gets called by the code in infrun.c.
Mark