This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: asynchronous MI output commands
On Sun, May 07, 2006 at 05:27:11PM -0400, Daniel Jacobowitz wrote:
> On Sat, May 06, 2006 at 08:45:18PM -0400, Bob Rossi wrote:
> > OK, with that information, I see it is impossible to tell just from
> > looking at the MI output, to determine if the command is synchronous
> > or not. Look below for a solution to this problem for me.
>
> What? ^done is a synchronous response, *stopped is an asynchronous
> response. There's not really any way of knowing whether a command
> might produce later asynchronous output.
>
> [Here we run into the limits of the current, mostly synchronous
> implementation.]
Daniel,
Please also notice that Xcode actually did modify the MI protocol to
tell the front end about the asynchronous commands.
http://sourceware.org/ml/gdb/2004-09/msg00238.html
Bob Rossi