GDB shared library tests with remote target

Daniel Jacobowitz daniel.jacobowitz@gmail.com
Mon Apr 23 17:40:00 GMT 2012


On Sun, Apr 22, 2012 at 1:57 PM, Michael Eager <eager@eagerm.com> wrote:
> When run on a remote system, the test fails to load the shared
> library because the loader has an absolute path to the shared
> library and does not search for it.

> Q.  Did this ever work?  If yes, how and how do I make it work now?

I always run GDB tests with the same path on local and remote systems,
usually using NFS.  Then it works.  There's nothing fundamental about
this - you could teach all the affected tests to use a search path or
set sysroot or something - but this was easy at the time :-)

-- 
Thanks,
Daniel



More information about the Gdb mailing list