This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Disabling sysroot
- From: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- To: "Daniel Jacobowitz" <drow at false dot org>
- Cc: "Eli Zaretskii" <eliz at gnu dot org>, <gdb at sourceware dot org>
- Date: Thu, 5 Jun 2008 12:09:55 -0400
- Subject: 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