From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8438 invoked by alias); 9 Apr 2003 20:59:28 -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 8431 invoked from network); 9 Apr 2003 20:59:28 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 9 Apr 2003 20:59:28 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 193MfK-0001fW-00; Wed, 09 Apr 2003 15:59:30 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 193MfC-0007Nk-00; Wed, 09 Apr 2003 16:59:22 -0400 Date: Wed, 09 Apr 2003 20:59:00 -0000 From: Daniel Jacobowitz To: Gautham Thavva Cc: gdb@sources.redhat.com Subject: Re: Debugging a Multi-threaded application on PowerPC 82xx... Message-ID: <20030409205922.GA28361@nevyn.them.org> Mail-Followup-To: Gautham Thavva , 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-04/txt/msg00086.txt.bz2 On Wed, Apr 09, 2003 at 04:15:39PM -0400, Gautham Thavva wrote: > > Hi Daniel, > > I have read in the archives that you are yet to write a FAQ and already answered this question 5 or 6 times. Please bear with me > for one more time. > > A quick recap: I am running a multi-threaded application on > PowerPC 8260 and trying to debug it with gdb-5.3 > > In the previous reply, you had asked me to set the solib-absolute- > prefix. I set solib-absolute-prefix and still couldn't debug. > I then built the application as a static executable and tried > to debug it. It got stuck at the system calls in the application. > > I then tested the system calls with a test program. > I put a breakpoint at points shown by <##X##> in the above code. > It hit breakpoint 2 and 3 but never hit breakpoint 1 > I placed the system calls in the main function to exclude > the possibility of gdb not handling system calls in threads. Sorry, I have no idea what would cause this problem. System calls in threads should not generally be a problem, by the way. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer