This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: Why does solib_open do what it does?


On Wed, Jun 18, 2003 at 11:50:45AM -0700, Michael Snyder wrote:
> >   * If available, use target defined search function.
> >   * Look in inferior's $PATH.
> >   * Look in inferior's $LD_LIBRARY_PATH.
> 
> I rather think that $PATH and $LD_LIBRARY_PATH should be native-only.
> But come to think of it, do remote targets even have environment variables?
> And if so -- do they inherit them from gdb / the host?  If there's a
> gdbserver-type situation, and if the server is able to provide the true
> environment variables from the target, then yes, we should use these.
> But I don't recall any gdbserver ever offering that functionality.

None of the in-tree supported remote targets do.  It's not in the
current remote protocol as far as I know.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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