From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25471 invoked by alias); 5 Oct 2004 12:48:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25464 invoked from network); 5 Oct 2004 12:48:09 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 Oct 2004 12:48:09 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i95Cm9xV023776 for ; Tue, 5 Oct 2004 08:48:09 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i95Cm3r32712; Tue, 5 Oct 2004 08:48:03 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 907A528D2; Tue, 5 Oct 2004 08:47:43 -0400 (EDT) Message-ID: <416297EF.8010003@gnu.org> Date: Tue, 05 Oct 2004 13:03:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: Daniel Jacobowitz , Felix Lee Cc: gdb list Subject: Re: gdbserver, sysroot, prelink References: <20041004173736.1EA97502AB6@stray.canids> <20041004175148.GA16251@nevyn.them.org> <20041004190003.90149502AB6@stray.canids> <20041004190542.GA19352@nevyn.them.org> In-Reply-To: <20041004190542.GA19352@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00080.txt.bz2 > On Mon, Oct 04, 2004 at 12:00:03PM -0700, Felix Lee wrote: > >>> Daniel Jacobowitz : >> >>>> > How does this make --with-sysroot useless? That's exactly what sysroot >>>> > is supposed to do - point it where you keep the exact libraries of the >>>> > machine. I usually point it to an NFS server. Is there a command to change this (testcase, doco)? I guess the lack of a command is the reason for not having it always enabled. (Hmm, I wonder, did GDB check that the shlibs it was loading were compatible with the main executable?) Andrew >>> doesn't that assume you only have one such target machine in your >>> installation? > > > I have a different sysroot for each target machine. They use NFS to > root from the host I run GDB on. Otherwise, I copy the libraries to > the target. > > >>> maybe setting the default solib-absolute-prefix to something like >>> '[[please set solib-absolute-prefix]]' would be helpful when >>> there isn't a sensible default. > > > If there isn't a sensible default for your environment, perhaps you > should give a nonexistant directory for --with-sysroot... > > -- Daniel Jacobowitz