This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/13217] thread apply all detach throws a SEGFAULT
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 15 Jul 2013 11:14:34 +0000
- Subject: [Bug threads/13217] thread apply all detach throws a SEGFAULT
- Auto-submitted: auto-generated
- References: <bug-13217-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13217
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
CVSROOT: /cvs/src
Module name: src
Changes by: alianwar@sourceware.org 2013-07-15 11:14:32
Modified files:
gdb : ChangeLog thread.c
gdb/testsuite/gdb.threads: threadapply.exp
Log message:
2013-07-15 Ali Anwar <ali_anwar@codesourcery.com>
PR threads/13217
* thread.c (thread_apply_all_command): Check for valid threads
and thread count.
(thread_array_cleanup): New struct.
(set_thread_refcount): New function.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15797&r2=1.15798
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.154&r2=1.155
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/threadapply.exp.diff?cvsroot=src&r1=1.16&r2=1.17
--
You are receiving this mail because:
You are on the CC list for the bug.