diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-04-14 14:02:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-04-14 14:02:23 +0000 |
commit | e3bc4218faa897ec69dbdc477f89d1c56360a8a5 (patch) | |
tree | 3f8275f6d1aab8bb82448f77c19da7e966ff8bd7 /gdb/linux-thread-db.c | |
parent | 19a6653ce8c6d8a76586a54f3c0396063de5f987 (diff) | |
download | gdb-e3bc4218faa897ec69dbdc477f89d1c56360a8a5.zip gdb-e3bc4218faa897ec69dbdc477f89d1c56360a8a5.tar.gz gdb-e3bc4218faa897ec69dbdc477f89d1c56360a8a5.tar.bz2 |
* linux-thread-db.c (have_threads_callback): Check thread->private.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |