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: [DISCUSS]: cross-debugging shared libraries


> > 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

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