From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16155 invoked by alias); 29 Aug 2006 19:08:25 -0000 Received: (qmail 16144 invoked by uid 22791); 29 Aug 2006 19:08:25 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 29 Aug 2006 19:08:23 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GI8wd-000725-1A; Tue, 29 Aug 2006 15:08:19 -0400 Date: Tue, 29 Aug 2006 19:08:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: pgilliam@us.ibm.com, gdb@sources.redhat.com, sjmunroe@us.ibm.com Subject: Re: breaks at thread create and delete fail on PPC64/Linux Message-ID: <20060829190818.GA27001@nevyn.them.org> Mail-Followup-To: Mark Kettenis , pgilliam@us.ibm.com, gdb@sources.redhat.com, sjmunroe@us.ibm.com References: <1156806903.5898.29.camel@dufur.beaverton.ibm.com> <20060828232206.GA27059@nevyn.them.org> <200608291903.k7TJ3VPb001854@elgar.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608291903.k7TJ3VPb001854@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00221.txt.bz2 On Tue, Aug 29, 2006 at 09:03:31PM +0200, Mark Kettenis wrote: > > Here's my question: why isn't that happening already? Don't we get > > shared library events after relocation processing? Or do we get one > > before and one after? > > Normally we get an event right before a shared library and its > dependencies is loaded and right after. At that last event things are > supposed to be in a consistent state, so relocations should have been > processed (except for relocations to be resilved by lazy binding of > course). Is one of these before constructors and the other after, do you know? How about relocation processing? We really want to insert these breakpoints before constructors; it's not unheard of to create a thread in a shared library constructor. -- Daniel Jacobowitz CodeSourcery