OSDN Git Service

2009-10-27 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 27 Oct 2009 21:32:47 +0000 (21:32 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 27 Oct 2009 21:32:47 +0000 (21:32 +0000)
commit7013ef327e9095369cb2f7a54e0f1562f71a4c61
tree72a090d30c584e375262005646cb32c46a06edb7
parent51b42d301aeb3e0e04094ac845d8a526d2db4e2f
2009-10-27  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/10757
* linux-thread-db.c (attach_thread): Return success/failure
indicator.
(thread_db_find_new_threads_silently): Retry until no new threads.
(struct callback_data): New.
(find_new_threads_callback): Count new threads, stop iteration
on error.
(find_new_threads_once): New function.
(thread_db_find_new_threads_2): Rename from
thread_db_find_new_threads_1 and adjust.
(thread_db_find_new_threads_1): New function.
gdb/ChangeLog
gdb/linux-thread-db.c