From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7715 invoked by alias); 9 Oct 2003 20:46:45 -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 7705 invoked from network); 9 Oct 2003 20:46:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 9 Oct 2003 20:46:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h99KkiM07308 for ; Thu, 9 Oct 2003 16:46:44 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h99Kkic26711; Thu, 9 Oct 2003 16:46:44 -0400 Received: from localhost.localdomain (vpn50-39.rdu.redhat.com [172.16.50.39]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h99KkfdT028403; Thu, 9 Oct 2003 16:46:42 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h99KkaT14371; Thu, 9 Oct 2003 13:46:36 -0700 Date: Thu, 09 Oct 2003 20:46:00 -0000 From: Kevin Buettner Message-Id: <1031009204636.ZM14370@localhost.localdomain> In-Reply-To: Daniel Jacobowitz "Re: unwind support for Linux 2.6 vsyscall DSO" (Oct 9, 4:23pm) References: <200310070445.h974jrd1020409@magilla.sf.frob.com> <1031009195805.ZM14115@localhost.localdomain> <20031009200224.GA21068@nevyn.them.org> <1031009202102.ZM14243@localhost.localdomain> <20031009202339.GA22732@nevyn.them.org> To: Daniel Jacobowitz , Kevin Buettner Subject: Re: unwind support for Linux 2.6 vsyscall DSO Cc: Roland McGrath , Jim Blandy , Elena Zannoni , gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00317.txt.bz2 On Oct 9, 4:23pm, Daniel Jacobowitz wrote: > 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. If this entry is already present in the list of so_list structs (pointed at by ``so_list_head''), it shouldn't cause any problem. If it's not, an attempt will be made to load it. I'm not sure what the result of that will be. Kevin