From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1227 invoked by alias); 15 Jun 2002 06:17:52 -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 1218 invoked from network); 15 Jun 2002 06:17:51 -0000 Received: from unknown (HELO racerx.ixiacom.com) (64.60.75.69) by sources.redhat.com with SMTP; 15 Jun 2002 06:17:51 -0000 Received: by racerx.ixiacom.com with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Jun 2002 23:16:11 -0700 Message-ID: <9A9C83C019F35D47A570460E87D5D8AB027592DF@racerx.ixiacom.com> From: Dan Kegel To: 'Daniel Jacobowitz ' , Ankur Sheth Cc: "''gdb@sources.redhat.com' '" , Dan Kegel Subject: RE: gdbserver and multithreaded programs Date: Fri, 14 Jun 2002 23:17:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-06/txt/msg00116.txt.bz2 Daniel Jacobowitz wrote: > > 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. > > 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? No, we weren't setting it at all. Thanks for the tip; works much better now on ppc405. I did see a strange message "Program received signal SIGTRAP, Trace/breakpoint trap." a few times, but in general I'm able to step through a program that creates lots of threads on ppc405 now. Huzzah! (Haven't tried sh4 again yet.) Still not trivial to build and use in a cross-compiled environment (what is?), but a good FAQ ought to help that. Thanks for the fast help! - Dan