diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/linux-thread-db.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0ec976..ff652fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 8ac9818..83632d0 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -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 |