From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23406 invoked by alias); 5 Jun 2008 16:10:23 -0000 Received: (qmail 23398 invoked by uid 22791); 5 Jun 2008 16:10:23 -0000 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jun 2008 16:10:02 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m55G9vpo010249; Thu, 5 Jun 2008 11:09:57 -0500 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Jun 2008 11:09:56 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Disabling sysroot Date: Thu, 05 Jun 2008 16:10:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA0429117F@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <20080605152259.GA29800@caradoc.them.org> From: "Marc Khouzam" To: "Daniel Jacobowitz" Cc: "Eli Zaretskii" , 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/msg00031.txt.bz2 =20 > > 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. >=20 > 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 sysrtoo= t,=20 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