From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31926 invoked by alias); 8 Nov 2007 13:08:02 -0000 Received: (qmail 31910 invoked by uid 71); 8 Nov 2007 13:08:01 -0000 Date: Thu, 08 Nov 2007 13:08:00 -0000 Message-ID: <20071108130801.31909.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: threads/2358: Program terminated with signal SIGTRAP, Trace/breakpoint trap Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00107.txt.bz2 The following reply was made to PR threads/2358; it has been noted by GNATS. From: Daniel Jacobowitz To: mihai.stanescu@gmail.com Cc: gdb-gnats@sources.redhat.com Subject: Re: threads/2358: Program terminated with signal SIGTRAP, Trace/breakpoint trap Date: Thu, 8 Nov 2007 08:01:25 -0500 On Thu, Nov 08, 2007 at 10:30:30AM -0000, mihai.stanescu@gmail.com wrote: > I have a simple program dynamically linked agains pthread. > > When i try to set a breakpoint in a child thread created with pthread_create i get > > Program terminated with signal SIGTRAP, Trace/breakpoint trap. This is the same as PR threads/2321. I think something must be wrong with Gentoo's latest glibc; it does not happen on any other system. -- Daniel Jacobowitz CodeSourcery