This is the mail archive of the gdb@sourceware.org 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: Disabling sysroot


 
> > It would be even nicer to have a way to 'turn off' sysroot
> > for this case.  Something like "unset sysroot".  I'm not
> > sure if "unset" is something that GDB supports.
> 
> It is, but unsetting sysroot does not mean what you want.  Without a
> sysroot, libraries are searched for in the root filesystem on the
> host.  You want to actually disable searching by full path; gdb has no
> option for that.

>From what I understand, it would be nice if unset sysroot disabled sysrtoot, 
while an explicit set sysrtoot "/" be used to search from the root.
But, for the sake of backwards compatibility, this should probably
be left alone and /dev/null used for sysrtoot to disable it.

Marc


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