From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9570 invoked by alias); 13 Dec 2001 16:56:00 -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 8985 invoked from network); 13 Dec 2001 16:54:42 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 13 Dec 2001 16:54:42 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16EZ86-0004lb-00; Thu, 13 Dec 2001 11:54:42 -0500 Date: Thu, 13 Dec 2001 08:56:00 -0000 From: Daniel Jacobowitz To: Marcos Pindado =?iso-8859-1?Q?Sebasti=E1n?= Cc: gdb-patches@sources.redhat.com Subject: Re: Problems with GDB 5.1 and Pthreads Message-ID: <20011213115442.A18313@nevyn.them.org> Mail-Followup-To: Marcos Pindado =?iso-8859-1?Q?Sebasti=E1n?= , gdb-patches@sources.redhat.com References: <004b01c183f6$e63a52e0$050c010a@sigsirius> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <004b01c183f6$e63a52e0$050c010a@sigsirius> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00347.txt.bz2 Probably you do not have libthread_db installed. Glibc may not be new enough. On Thu, Dec 13, 2001 at 05:54:57PM +0100, Marcos Pindado Sebastián wrote: > Hi. > I am developing under linux SlackWare 7.0 and have several problems with gdb and multithreaded programs. > Gdb is 5.1 configured on P3 PC. > - Every call to a pthread function results in the reception of a SIG32. I have tried to resolve this by ignoring that signal, but... > - It does not appear any message indicating a new thread is created. > - I don't see any thread when writing : info threads. > - The command " thread x" does not work, it says it has no id thread. > - When I set a breakpoint in the code that a thread other than main thread the program does not stop in it, but recives a SIGTRAP when that thread exists. > > It seems there is no thread over there although simple multithread programs work fine (when not debugging) so I am assuming Slackware does well with threads. > Is there any configuration option I have miss? Is there any patch to resolve this? > > Thank you very much. > -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer