From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19187 invoked by alias); 15 Jul 2013 11:14:36 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 19153 invoked by uid 55); 15 Jul 2013 11:14:35 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug threads/13217] thread apply all detach throws a SEGFAULT Date: Mon, 15 Jul 2013 11:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00064.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13217 --- Comment #1 from 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 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.