From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10762 invoked by alias); 5 Jun 2008 15:23:23 -0000 Received: (qmail 10703 invoked by uid 22791); 5 Jun 2008 15:23:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jun 2008 15:23:02 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DC215983F8; Thu, 5 Jun 2008 15:23:00 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B82019809F; Thu, 5 Jun 2008 15:23:00 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K4HIp-0007qE-Qf; Thu, 05 Jun 2008 11:22:59 -0400 Date: Thu, 05 Jun 2008 15:23:00 -0000 From: Daniel Jacobowitz To: Marc Khouzam Cc: Eli Zaretskii , gdb@sourceware.org Subject: Re: Disabling sysroot Message-ID: <20080605152259.GA29800@caradoc.them.org> Mail-Followup-To: Marc Khouzam , Eli Zaretskii , gdb@sourceware.org References: <6D19CA8D71C89C43A057926FE0D4ADAA0429117D@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0429117D@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00030.txt.bz2 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