On Wed, 12 May 1999, John Birrell wrote:

> Doug Rabson wrote:
> > That would work. I think I only need uniqueid, sig_saved,
> > saved_sigcontext, saved_jmpbuf, state and nxt. If those guys were lumped
> > up at the start of struct pthread (possibly in another struct so that gdb
> > doesn't need to know sizeof(struct pthread)) and marked appropriately then
> > the debugger interface would be quite stable.
> 
> I'd be inclined to add the magic number too, because it gives a hint
> as to whether the structure refers to a valid thread. If the thread
> is destroyed, the magic number is trashed.
> 
> I think it is worth adding a new header file defining such a structure.

Ok, I'll see about updating my patch along these lines and I'll post up
another one in a day or two.

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




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

Reply via email to