From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29511 invoked by alias); 9 Oct 2003 20:23:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29497 invoked from network); 9 Oct 2003 20:23:46 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 9 Oct 2003 20:23:46 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A7hJz-0005vZ-8E; Thu, 09 Oct 2003 16:23:39 -0400 Date: Thu, 09 Oct 2003 20:23:00 -0000 From: Daniel Jacobowitz To: Kevin Buettner Cc: Roland McGrath , Jim Blandy , Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: unwind support for Linux 2.6 vsyscall DSO Message-ID: <20031009202339.GA22732@nevyn.them.org> Mail-Followup-To: Kevin Buettner , Roland McGrath , Jim Blandy , Elena Zannoni , gdb-patches@sources.redhat.com References: <200310070445.h974jrd1020409@magilla.sf.frob.com> <1031009195805.ZM14115@localhost.localdomain> <20031009200224.GA21068@nevyn.them.org> <1031009202102.ZM14243@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1031009202102.ZM14243@localhost.localdomain> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00316.txt.bz2 On Thu, Oct 09, 2003 at 01:21:02PM -0700, Kevin Buettner wrote: > On Oct 9, 4:02pm, Daniel Jacobowitz wrote: > > > The problem with using SOLIB_ADD for this is that we can't SOLIB_ADD > > safely till we hit the dynamic linker breakpoint, but it would be > > _really_ nice to be able to load this object right after the inferior > > starts (and for static binaries, etc etc). How would you suggets we do > > that? > > I think that's what TARGET_CREATE_INFERIOR_HOOK is for. Sounds good to me. By the way, assuming I remember this correctly, the DSO will _also_ show up in the link map we get from the dynamic loader. Not sure how that will influence things. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer