Finding ld.so dynamic loader

Paul Koning pkoning@equallogic.com
Wed Jan 30 19:04:00 GMT 2008


>>>>> "Michael" == Michael Eager <eager@eagercon.com> writes:

 Michael> Mark Kettenis wrote:
 >> GDB tries to please them all, and still tries to cover the case of
 >> a native debugger too.

 Michael> It still seems that searching the host file system should be
 Michael> the last choice, not the first. 

It should either be the last choice, or not be done at all.  An
example where it should not be done at all is when host and target are
different architectures.  Looking up a symbol in an x86 library when
you're debugging a MIPS target cannot ever be correct -- but that's
what can happen today.  (This is also an example of something that can
easily be checked by the solib code without worrying about the
"remote" vs. "local" distinction -- if host != target then by
definition the host libraries are wrong.)

     paul



More information about the Gdb mailing list