This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Additional dead thread patch
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, msnyder at redhat dot com
- Date: Mon, 7 Jun 2004 17:58:37 -0400
- Subject: Re: [RFA]: Additional dead thread patch
- References: <40C4E3EB.1020807@redhat.com>
On Mon, Jun 07, 2004 at 05:53:47PM -0400, Jeff Johnston wrote:
> After updating to current sources today, I have noticed a regression in
> print-threads.exp which is due to some missing logic in my June 4th patch.
> The problem is a timing issue (it does not occur for my June 4th build).
> There is a gdb_assert in thread_from_lwp() which gets triggered because the
> th_valid flag has not been set for a zombie thread's thread_info struct.
>
> This patch fills in the zombie thread's thread_info private area since the
> information is indeed valid and available.
>
> Ok to commit?
>
> -- Jeff J.
>
> 2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
>
> * thread-db.c (thread_get_info_callback): Fill in the thread_info
> struct if one exists, even if we are dealing with a zombie thread.
>
Yes, this is OK.
--
Daniel Jacobowitz