This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug threads/13217] thread apply all detach throws a SEGFAULT


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]