This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Re: [patch] Fix for 'info threads' crashes if zombie threads exist
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: drow at false dot org
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Jul 2006 01:16:14 +0200 (CEST)
- Subject: Re: RFC: Re: [patch] Fix for 'info threads' crashes if zombie threads exist
- References: <20060620130932.GA21490@nevyn.them.org> <200606201524.45099.bartoschek@or.uni-bonn.de> <20060620132737.GA21951@nevyn.them.org> <20060619165609.GA14691@host0.dyn.jankratochvil.net> <20060620170451.GA17022@host0.dyn.jankratochvil.net> <20060620171109.GA28310@nevyn.them.org> <20060620185326.GA9482@host0.dyn.jankratochvil.net> <20060620190740.GA31643@nevyn.them.org> <20060713040135.GY24622@nevyn.them.org> <200607131849.k6DInqeJ029991@elgar.sibelius.xs4all.nl> <20060713194731.GA1709@nevyn.them.org>
> Date: Thu, 13 Jul 2006 15:47:31 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> > You might want to look at implementing to_extra_thread_info() to give
> > some state information; see bsd-uthread.c for an example.
>
> ... and in any case that's a better place for the state information.
> Nice. Unfortunately we don't really have useful state bits. I could
> probably move the exiting/missing text there.
That's what I had in mind...
> I'll keep that in mind for a future update, thanks!
Well, if this patch doesn't cause any regressions, there is no real
reason to hold it back. You can always add the to_extra_thread_info()
implementation later.
Mark