From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: ** X-Spam-Status: No, score=2.3 required=5.0 tests=DATE_IN_FUTURE_03_06, DMARC_NONE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from obelix.spectraweb.ch (obelix.plusnet.ch [194.158.230.8]) by chiba.3jane.net (Postfix) with ESMTP id 55F6CABD4F for ; Sat, 15 Jun 2002 08:10:20 -0500 (CDT) Received: from seul.org (adsl-p3-dialup-234.adslplus.ch [62.167.209.234]) by obelix.spectraweb.ch (8.11.2/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id g5FDA9c25470 for ; Sat, 15 Jun 2002 15:10:09 +0200 Message-ID: <3D0B9041.60403@seul.org> Date: Sat, 15 Jun 2002 15:06:41 -0400 From: Marko Mikulicic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] GDB & threads ? Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 6ba6cb2c-fac5-48d8-9586-e67f066962c8 X-Archives-Hash: dc49fdd3f39407dcc8b0fa1597370450 Hello, I have some strange problem debugging multi-threaded programs. When debugging such a program with gdb (5.1.1) whenever a thread starts it catches a signal SIG32 instead of showing "[New Thread whatever (LWP whatever)]". Every threading capability is disabled and signal handling is incorrect. It seems that gdb was compiled without pthread support. I have tried gdb 5.1.1 on mandrake 8.1 and all works. I use glibc 2.2.4 on mandrake and 2.2.5-r2 on gentoo. Has anyone experienced this problem ? Marko