[Bug threads/10757] GDB does not attach all threads of a multithreaded process => inferior gets SIGTRAP
cvs-commit at gcc dot gnu dot org
sourceware-bugzilla@sourceware.org
Tue Oct 27 21:33:00 GMT 2009
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-10-27 21:33 -------
Subject: Bug 10757
CVSROOT: /cvs/src
Module name: src
Changes by: ppluzhnikov@sourceware.org 2009-10-27 21:32:49
Modified files:
gdb : ChangeLog linux-thread-db.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11007&r2=1.11008
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linux-thread-db.c.diff?cvsroot=src&r1=1.65&r2=1.66
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10757
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gdb-prs
mailing list