From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32116 invoked by alias); 5 Oct 2004 13:37:07 -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 32050 invoked from network); 5 Oct 2004 13:37:04 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 5 Oct 2004 13:37:04 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CEpUx-0003Io-LQ; Tue, 05 Oct 2004 09:36:59 -0400 Date: Tue, 05 Oct 2004 13:52:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Felix Lee , gdb list Subject: Re: gdbserver, sysroot, prelink Message-ID: <20041005133658.GA12217@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Felix Lee , gdb list References: <20041004173736.1EA97502AB6@stray.canids> <20041004175148.GA16251@nevyn.them.org> <20041004190003.90149502AB6@stray.canids> <20041004190542.GA19352@nevyn.them.org> <416297EF.8010003@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416297EF.8010003@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00084.txt.bz2 On Tue, Oct 05, 2004 at 08:47:43AM -0400, Andrew Cagney wrote: > >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. All --with-sysroot does is add some fancy logic for setting solib-absolute-prefix. Without it, the default is "", which is correct for native debugging. That's why it's not always enabled. You can override it just by setting solib-absolute-prefix. > (Hmm, I wonder, did GDB check that the shlibs it was loading were > compatible with the main executable?) No, it doesn't. That's a little tricky... -- Daniel Jacobowitz