[DISCUSS]: cross-debugging shared libraries

Peter.Schauer Peter.Schauer@regent.e-technik.tu-muenchen.de
Thu Oct 26 03:09:00 GMT 2000


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


More information about the Gdb-patches mailing list