This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross solib support; viable at all?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]