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


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


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