From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20811 invoked by alias); 9 Oct 2003 02:18:57 -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 20794 invoked from network); 9 Oct 2003 02:18:56 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 9 Oct 2003 02:18:56 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A7QOG-0005vT-3T; Wed, 08 Oct 2003 22:18:56 -0400 Date: Thu, 09 Oct 2003 02:18:00 -0000 From: Daniel Jacobowitz To: Ming Sun Cc: gdb@sources.redhat.com Subject: Re: more info on Help needed for gdbserver on redhat 9, thanks! Message-ID: <20031009021856.GA22743@nevyn.them.org> Mail-Followup-To: Ming Sun , gdb@sources.redhat.com References: <3F821438.2020004@intellambda.com> <20031007012549.GA17964@nevyn.them.org> <3F84C42F.5080006@intellambda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F84C42F.5080006@intellambda.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00144.txt.bz2 On Wed, Oct 08, 2003 at 07:13:03PM -0700, Ming Sun wrote: > Thanks Dan! That was my problem. It is a bit diffical to sync up libs on > two PCs. > But it finally worked. I got another problem on gdbserver and pthread. > > If I have a break point in the entry function of a thread, when > pthread_create() is > invoked my program will receive a SIGTRAP signal and quit. The gdbserver > outputs > "Cannot find new threads: generic error" before it breaks at main() also. > Is this normal or there is some configuration I need to do? > > Thanks for the help, I don't know. It should work, but you're probably using NPTL and as far as I know gdbserver has never been tested with NPTL. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer