From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32273 invoked by alias); 17 Mar 2005 23:59:30 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31849 invoked from network); 17 Mar 2005 23:59:19 -0000 Received: from unknown (HELO kymasys.com) (66.160.167.99) by sourceware.org with SMTP; 17 Mar 2005 23:59:19 -0000 Received: from horse.he.net ([127.0.0.9]) by kymasys.com for ; Thu, 17 Mar 2005 15:59:12 -0800 Message-Id: <1111103952.21230@horse.he.net> Date: Thu, 17 Mar 2005 23:59:00 -0000 From: "Ajay Patel" To: Daniel Jacobowitz ,Ajay Patel ,gdb@sources.redhat.com Subject: Re: unable to debug statically linked program with linux threads X-IPAddress: 128.107.253.38 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SW-Source: 2005-03/txt/msg00179.txt.bz2 Daniel, I checked out gdb from CVS head and applied this "http://sourceware.org/ml/gdb-patches/2004-12/msg00240.html" patch. But still no thread commands. Thanks for your help. Ajay > On Thu, Mar 17, 2005 at 02:06:57PM -0800, Ajay Patel wrote: > > > > Hi, > > I have a FC3 based i686 machine with gdb version 6.1. > > I got a simple threaded program from one BSD. (program attached) > > > > With dynamic linking (linux threads), I can run > > the program under gdb without a problem. > > All thread related commands seems to work properly. > > > > With static linking, when I run this program under > > gdb, first I get > > "Program received signal SIG32/SIG33 Real-time event 32/32". > > I avoid this problem by > > "handle SIG32/SIG33 pass nostop noprint". > > > > However none of the thread related command works. > > > > Any suggestion? > > There's a patch in the gdb-patches archive for this. I'll go ping > it... it applies to CVS HEAD GDB. > > > -- > Daniel Jacobowitz > CodeSourcery, LLC > >