This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [DISCUSS]: cross-debugging shared libraries
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: [DISCUSS]: cross-debugging shared libraries
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Thu, 26 Oct 2000 12:09:02 MET DST
- Cc: Peter dot Schauer at Regent dot E-Technik dot TU-Muenchen dot DE, msnyder at redhat dot com, kettenis at wins dot uva dot nl, gdb-patches at sourceware dot cygnus dot com, rfolden at cygnus dot com, ebachalo at cygnus dot com, jld at cygnus dot com
> > I could request e.g the output of a
> > show solib-search-path
> > command from the problem reporter and see the effective value immediately.
>
> And wouldn't this take the environment variable into account?
Ah, ok, now I understand.
You want to initialize solib_absolute_prefix etc. from the environment once
at GDB startup in _initialize_solib.
I was misinterpreting `mirroring' to mean an additional way to set the paths.
Looks better, but I still think that GDB should use getenv only if absolutely
necessary.
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de