Disabling sysroot

Daniel Jacobowitz drow@false.org
Thu Jun 5 15:23:00 GMT 2008


On Thu, Jun 05, 2008 at 11:07:59AM -0400, Marc Khouzam wrote:
>  
> > > I use /dev/null, which will never be a directory.
> > 
> > Is this worth mentioning in the manual?
> 
> It would have been helpful for me, so I vote for yes :-)
> 
> 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.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list