This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI non-stop 10/11] Skip varobj in running threads.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Vladimir Prus <vladimir at codesourcery dot com>
- Date: Fri, 11 Jul 2008 10:01:43 -0400
- Subject: Re: [MI non-stop 10/11] Skip varobj in running threads.
- References: <200806282100.06214.vladimir@codesourcery.com> <200807111456.40088.pedro@codesourcery.com>
On Fri, Jul 11, 2008 at 02:56:39PM +0100, Pedro Alves wrote:
> You should reverse the logic, and do the update if the thread is_stopped
> instead of !is_running. That is because there is now exited state
> to care for as well, and is_running also returns false on those. Essentially,
> the is_STATE functions should not be tested with negation, if you're looking
> for a particular state.
Sounds like we need a big comment for that :-)
--
Daniel Jacobowitz
CodeSourcery