* linux-thread-db.c (have_threads_callback): Check thread->private.

This commit is contained in:
Daniel Jacobowitz 2008-04-14 14:02:23 +00:00
parent 19a6653ce8
commit e3bc4218fa
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-04-14 Daniel Jacobowitz <dan@codesourcery.com>
* linux-thread-db.c (have_threads_callback): Check thread->private.
2008-04-13 Nick Roberts <nickrob@snap.net.nz>
Vladimir Prus <vladimir@codesourcery.com>

View file

@ -235,7 +235,7 @@ thread_db_err_str (td_err_e err)
static int
have_threads_callback (struct thread_info *thread, void *dummy)
{
return 1;
return thread->private != NULL;
}
static int