From: Daniel Jacobowitz Date: Mon, 14 Apr 2008 14:02:23 +0000 (+0000) Subject: * linux-thread-db.c (have_threads_callback): Check thread->private. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3bc4218faa897ec69dbdc477f89d1c56360a8a5;p=binutils-gdb.git * linux-thread-db.c (have_threads_callback): Check thread->private. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0ec976149d..ff652faf20d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-04-14 Daniel Jacobowitz + + * linux-thread-db.c (have_threads_callback): Check thread->private. + 2008-04-13 Nick Roberts Vladimir Prus diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 8ac98187765..83632d060c5 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