From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16908 invoked by alias); 9 Oct 2003 16:06:36 -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 16901 invoked from network); 9 Oct 2003 16:06:36 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 9 Oct 2003 16:06:36 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A7dJD-0002Kw-TF; Thu, 09 Oct 2003 12:06:35 -0400 Date: Thu, 09 Oct 2003 16:06:00 -0000 From: Daniel Jacobowitz To: Ming Sun Cc: gdb@sources.redhat.com Subject: Re: Help needed for gdbserver and pthread on Redhat 9 Message-ID: <20031009160635.GA8864@nevyn.them.org> Mail-Followup-To: Ming Sun , gdb@sources.redhat.com References: <3F858641.7060601@intellambda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F858641.7060601@intellambda.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00158.txt.bz2 On Thu, Oct 09, 2003 at 09:01:05AM -0700, Ming Sun wrote: > If I have a break point in the entry function of a thread, when > pthread_create() is > invoked my program receives 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 answered this question yesterday: it's probably a problem with NPTL. There's not much more advice I can give you. Red Hat developers may have more of an idea. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer