Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 15:17:59 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        current@freebsd.org
Subject:   Re: Debugging uthreads
Message-ID:  <Pine.BSF.4.05.9905121516290.401-100000@herring.nlsystems.com>
In-Reply-To: <199905120934.TAA26050@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 May 1999, John Birrell wrote:

> Doug Rabson wrote:
> > I think the only state which I need to know about is PS_DEAD. If we marked
> > dead threads in the public struct it might simplify things.
> 
> You use PS_RUNNING too. We could just tie down those two as PS_DEAD = 0
> and PS_RUNNING = 1.

Ah. I thought I had changed that. The use of PS_RUNNING in store_registers
is bogus, it should be checking against _thread_run. The whole function
get_thread_info is pretty bogus too and it is never called by gdb as far
as I can tell.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905121516290.401-100000>