This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Implement *running.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 02 May 2008 12:57:10 +0300
- Subject: Re: [RFA] Implement *running.
- References: <200805011735.52447.vladimir@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?