[MI non-stop 01/11] Report thread state in -thread-info output.

Daniel Jacobowitz drow@false.org
Fri Jul 11 13:42:00 GMT 2008


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



More information about the Gdb-patches mailing list