From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1571 invoked by alias); 15 Jun 2002 04:04:08 -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 1559 invoked from network); 15 Jun 2002 04:04:05 -0000 Received: from unknown (HELO nevyn.them.org) (66.19.120.63) by sources.redhat.com with SMTP; 15 Jun 2002 04:04:05 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17J4nk-0001b5-00; Sat, 15 Jun 2002 00:04:36 -0400 Date: Fri, 14 Jun 2002 21:04:00 -0000 From: Daniel Jacobowitz To: Ankur Sheth Cc: "'gdb@sources.redhat.com'" , Dan Kegel Subject: Re: gdbserver and multithreaded programs Message-ID: <20020615040436.GA6116@nevyn.them.org> Mail-Followup-To: Ankur Sheth , "'gdb@sources.redhat.com'" , Dan Kegel References: <9A9C83C019F35D47A570460E87D5D8AB0186F76C@racerx.ixiacom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9A9C83C019F35D47A570460E87D5D8AB0186F76C@racerx.ixiacom.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-06/txt/msg00115.txt.bz2 On Fri, Jun 14, 2002 at 07:06:35PM -0700, Ankur Sheth wrote: > We tried out today's cvs on a simple remote multithreaded program on x86, > ppc405 and sh4. Let's see what we can do for you. > Results : > x86 - worked fine. OK... > ppc405 - worked on single threaded program, but on multithreaded > program output zillions of > > Ignoring packet error, continuing... > Ignoring packet error, continuing... > as soon as we tried to step thru main. > > sh4 - worked fine on single threaded program, but on multithreaded > program it output the following message. > > Program received signal SIG32, Real-time event 32. > > > Has anybody else tried this stuff yet? The "received signal SIG32" means that thread_db did not load. Most likely this means GDB did not find your libraries. On ppc405 I'd guess that it found an incorrect copy of the libraries. Are you setting solib-absolute-prefix correctly? I'm trying to come up with better ways to diagnose this sort of problem, as the remote multithread debug is exceedingly fragile at present. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer