This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: MI output during program execution


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]