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: [RFA] Implement *running.


> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Thu, 1 May 2008 16:35:52 +0300
> 
> 
> As previously discussed, we need a new async notification for MI --
> "*running", that is output whenever any thread, or entire program is
> resumed. We have "^running" but this one is a response to a command,
> and therefore can be emitted only once.
> 
> This patch introduces new observer, makes that observer called, and
> make MI connect to that observer. In the case of MT programs, or
> targets where main thread is always added to the thread table, we 
> just use a flag inside thread_info.  For the case of target where main
> thread of ST program is not added to the table, we just use the global
> flag. (I could not test on any such target).
> 
> This has no regressions in default and async modes on x86. OK?

Do we need to document it?


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