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: [MI/RFC] Emit ^running via observer.


 > This patch fixes an issue in MI code that was present since at least 1999.
 > We output ^running before even trying to resume the target, not to mention
 > making sure the target is resumed. So, if resuming fails, we'd get ^running,
 > followed by ^error, and I don't really know if current frontends will like
 > it at all.
 > 
 > Now that we have observer for resume, and that observer is called after
 > target is resumed, we can emit ^running from that observer. The immediate
 > bonus is that ^running is now emitted for every command that resumes the
 > inferior, even for CLI commands. Another (unexpected) bonus, is that since
             ^^^^^^^^^^^^^^^^^^^^^
 > now ^running and *running is output in a single place, we can produce them
 > in consistent order.

I would like to see this patch committed!  I've not tested it but I should have
Emacs working with MI shortly and then I can regularly test this and other
changes.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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