From: Bob Rossi >
> You can easily categorize a ^done or ^error response as synchronous.
> Other responses are more difficult to associate with a command, because
> they weren't directly issued as the response to a command.
>
> > It could output
> >
> > -file-list-exec-source-file
> > %-file-list-exec-source-file
> >
^done,line="26",file="test.c",fullname="/home/bob/cvs/cgdb/cgdb.mi/builddir/test.c"
> > (gdb)
>
> Accomplishing what? This is synchronous. It's a response to the
> previously issued command. The front end knows exactly what its
> previously issued command was, I hope.
Hmmm. That's interesting, I was hoping to not need to know what the
input command was in order to parse and build an ADT for the output. In
general, I think it would be appropriate if the MI output described
itself well enough that no other information was needed to understand
it, including the MI intput command.
...
Thanks,
Bob Rossi