From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28288 invoked by alias); 4 Jun 2008 17:38:12 -0000 Received: (qmail 28280 invoked by uid 22791); 4 Jun 2008 17:38:12 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout3.012.net.il (HELO mtaout3.012.net.il) (84.95.2.7) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 04 Jun 2008 17:37:49 +0000 Received: from HOME-C4E4A596F7 ([83.130.2.23]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K1Y00JGP9NQPYE0@i_mtaout3.012.net.il> for gdb@sourceware.org; Wed, 04 Jun 2008 20:52:39 +0300 (IDT) Date: Wed, 04 Jun 2008 17:38:00 -0000 From: Eli Zaretskii Subject: Re: Disabling sysroot In-reply-to: <20080604151313.GA31914@caradoc.them.org> X-012-Sender: halo1@inter.net.il To: Daniel Jacobowitz Cc: marc.khouzam@ericsson.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <6D19CA8D71C89C43A057926FE0D4ADAA04291110@ecamlmw720.eamcs.ericsson.se> <200805141603.35204.pedro@codesourcery.com> <6D19CA8D71C89C43A057926FE0D4ADAA04E1BD49@ecamlmw720.eamcs.ericsson.se> <20080604151313.GA31914@caradoc.them.org> 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/msg00024.txt.bz2 > Date: Wed, 4 Jun 2008 11:13:13 -0400 > From: Daniel Jacobowitz > Cc: gdb@sourceware.org > > On Wed, Jun 04, 2008 at 09:34:02AM -0400, Marc Khouzam wrote: > > Hi, > > > > in the doc it says: > > > > If you want to use `solib-search-path' instead of > > `sysroot', be sure to set `sysroot' to a nonexistent directory to prevent GDB > > from finding your host's libraries. > > > > Is there a recommended way to turn off sysroot? > > I can set it to something like /what/are/the/odds/of/this/dir/actually/existing > > But it is not very elegant. > > I use /dev/null, which will never be a directory. Is this worth mentioning in the manual?