This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI non-stop 01/11] Report thread state in -thread-info output.
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Jul 2008 09:41:59 -0400
- Subject: Re: [MI non-stop 01/11] Report thread state in -thread-info output.
- References: <200806282034.58776.vladimir@codesourcery.com>
On Sat, Jun 28, 2008 at 08:34:58PM +0400, Vladimir Prus wrote:
> + if (tp->state_ == THREAD_EXITED)
> + state = "exited";
/* This field is internal to thread.c. Never access it directly,
use is_running instead. */
int state_;
Aren't there accessors you can use here?
--
Daniel Jacobowitz
CodeSourcery