From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id ED014300E6 for ; Fri, 11 May 2001 17:47:00 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f4BLhxc32637 for axp-list@listman.redhat.com; Fri, 11 May 2001 17:43:59 -0400 Received: from smtp6ve.mailsrvcs.net (smtp6vepub.gte.net [206.46.170.27]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f4BLhwb32633 for ; Fri, 11 May 2001 17:43:58 -0400 Received: from voicenet.com (adsl-141-155-116-129.nyc.adsl.bellatlantic.net [141.155.116.129]) by smtp6ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id VAA19661573; Fri, 11 May 2001 21:51:08 GMT Message-ID: <3AFC5DB5.9D7D7638@voicenet.com> Date: Fri, 11 May 2001 17:46:30 -0400 From: Uncle George X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-15 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com, bug-gdb@prep.ai.mit.edu Subject: gdb 5.0 & pthreads Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: It does appear that gdb now has pthreads. & it does keep track of threads. Unfortunately it just does not behave rite. Apparently some thread did an exit(), which appears to have caught gdb's attention. The exit should have caught the attention of the pthread manager, which would have done any 'clean-up' processing. Without gdb in the equation, the gftp program goes on for some time, but eventually crashes/segfaults for other reasons. This GDB was configured as "alpha-redhat-linux"... (gdb) r Starting program: /usr/src/redhat/BUILD/gftp-2.0.7b/src/./gftp [New Thread 1024 (LWP 3912)] [New Thread 2049 (LWP 3914)] [New Thread 1026 (LWP 3915)] Program exited normally. (gdb) I am using : RedHat 7.0, alpha processor, Linux 2.2.17-14