This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Cross solib support; viable at all?
- To: gdb-patches at sources dot redhat dot com, orjan dot friberg at axis dot com
- Subject: Re: Cross solib support; viable at all?
- From: Michael Elizabeth Chastain <mec at shout dot net>
- Date: Wed, 7 Nov 2001 09:32:13 -0600
Hi Orjan,
> Reading the lengthy comment preceding enable_break in solib-svr4.c, I
> understand that gdb must be able to put a breakpoint in the linker to
> intercept the loading and unloading of shared libraries. This obviously
> becomes a problem when the linker isn't run native.
This comment is about the _dynamic_ linker, which is a piece of code in
the target which loads shared libraries. The dynamic linker is always
part of the target code.
So there is no problem when "ld" is a cross ld. There are other issues,
though, as you point out.
Michael C