This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: unwind support for Linux 2.6 vsyscall DSO
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