From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22886 invoked by alias); 28 Jul 2004 06:06:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22879 invoked from network); 28 Jul 2004 06:06:34 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 28 Jul 2004 06:06:34 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6S66Ye3026859 for ; Wed, 28 Jul 2004 02:06:34 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6S66Xa25160; Wed, 28 Jul 2004 02:06:33 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 73D912B9D; Wed, 28 Jul 2004 02:06:28 -0400 (EDT) Message-ID: <41074264.4070007@gnu.org> Date: Wed, 28 Jul 2004 06:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc/6.2] Mention threads in NEWS and PROBLEMS References: <410726AD.4030409@gnu.org> In-Reply-To: <410726AD.4030409@gnu.org> Content-Type: multipart/mixed; boundary="------------080702090205040706090407" X-SW-Source: 2004-07/txt/msg00416.txt.bz2 This is a multi-part message in MIME format. --------------080702090205040706090407 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 21 Doh, wrong patch ... --------------080702090205040706090407 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1684 2004-07-28 Andrew Cagney * PROBLEMS: Mention threads/1650. * NEWS: Mention the NPTL fix. Index: NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.154.2.5 diff -p -u -r1.154.2.5 NEWS --- NEWS 26 Jul 2004 18:29:13 -0000 1.154.2.5 +++ NEWS 28 Jul 2004 04:05:17 -0000 @@ -3,6 +3,17 @@ *** Changes in GDB 6.2: +* Fix for ``many threads'' + +On GNU/Linux systems that use the NPTL threads library, a program +rapidly creating and deleting threads would confuse GDB leading to the +error message: + + ptrace: No such process. + thread_db_get_info: cannot get thread info: generic error + +This problem has been fixed. + * "-async" and "-noasync" options removed. Support for the broken "-noasync" option has been removed (it caused Index: PROBLEMS =================================================================== RCS file: /cvs/src/src/gdb/PROBLEMS,v retrieving revision 1.31.2.3 diff -p -u -r1.31.2.3 PROBLEMS --- PROBLEMS 26 Jul 2004 18:29:13 -0000 1.31.2.3 +++ PROBLEMS 28 Jul 2004 04:05:17 -0000 @@ -121,3 +121,14 @@ gdb/1505: [regression] gdb prints a bad When backtracing a thread, gdb does not stop when it reaches the outermost frame, instead continuing until it hits garbage. This is sensitive to the operating system and thread library. + +*** Threads + +threads/1650: manythreads.exp + +On GNU/Linux systems that use the old LinuxThreads thread library, a +program rapidly creating and deleting threads can confuse GDB leading +to an internal error. + +This problem does not occure on newer systems that use the NPTL +library, and does not occure with GDB 6.1. --------------080702090205040706090407--