This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: "there is always a thread"
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>, gdb at sources dot redhat dot com
- Date: Thu, 9 Oct 2003 08:27:19 -0700
- Subject: Re: "there is always a thread"
- References: <3F857049.9080108@redhat.com>
On Oct 9, 10:27am, Andrew Cagney wrote:
> I'm intending simplifying this so that the code can assume that there's
> always a "thread".
It depends upon the stratum. dummy_stratum and file_stratum (and
download_stratum?) will have no thread because nothing's running yet.
> A non-threaded app having a single thread
> corresponding to the main process.
For the other strata, this should be (made to be) true.
A fallout from this change may be that the process_stratum and
thread_stratum can be merged.
Kevin