From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25734 invoked by alias); 1 Sep 2003 16:25:03 -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 25727 invoked from network); 1 Sep 2003 16:25:02 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 1 Sep 2003 16:25:02 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 19trUD-0001wp-UO for ; Mon, 01 Sep 2003 12:25:01 -0400 Date: Mon, 01 Sep 2003 16:25:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: GDB 6.0 Branch and ARM Multithreading Support Message-ID: <20030901162501.GA7465@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00002.txt.bz2 On Mon, Sep 01, 2003 at 11:31:36AM +0100, Chris.Pedley@arm.com wrote: > Hi, > > I've cross compiled the GDB 6.0 branch for ARM Linux (host=arm-linux > target=arm-linux build=i686-linux) and can't get it to debug a > multithreaded program. Attempting to debug a program that creates a thread > results in: > > Program received signal SIG32, Real-time event 32. > 0x0000f2c0 in __sigsuspend (set=0xbffffc9c) > ... > > I've linked the program statically against unstripped libraries as I am > aware that people have had trouble debugging multithreaded applications > using a stripped pthread library. > > Any suggestions as to what is wrong? Does it display any messages about loading libthread_db? Does it successfully map the library? I tested native thread debugging on ARM recently (~ week ago) and it worked. If you are using glibc 2.3.2 you will need the patch I sent to this list and libc-alpha a week or two ago. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer