From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14175 invoked by alias); 9 Oct 2003 16:04:06 -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 14167 invoked from network); 9 Oct 2003 16:04:05 -0000 Received: from unknown (HELO msrvr.intellambda.com) (207.5.82.234) by sources.redhat.com with SMTP; 9 Oct 2003 16:04:05 -0000 Message-ID: <3F858641.7060601@intellambda.com> Date: Thu, 09 Oct 2003 16:04:00 -0000 From: Ming Sun MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Help needed for gdbserver and pthread on Redhat 9 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00157.txt.bz2 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, Ming ============================================================= [root@pc28 x86]# gdbserver foo:5432 grog Process prog created; pid = 22123 Remote debugging from host 192.168.0.57 Cannot find new threads: generic error Cannot find new threads: generic error Cannot find new threads: generic error .... more output from prog .... Child terminated with signal = 5 Child terminated with signal = 0x0 GDBserver exiting [root@pc28 x86]#