From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28943 invoked by alias); 9 Jun 2005 19:47:00 -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 28916 invoked by uid 22791); 9 Jun 2005 19:46:57 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 09 Jun 2005 19:46:57 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DgSzM-0003Ll-92; Thu, 09 Jun 2005 15:46:52 -0400 Date: Thu, 09 Jun 2005 19:47:00 -0000 From: Daniel Jacobowitz To: Aaron Gaudio Cc: gdb@sources.redhat.com Subject: Re: Trying to debug an x86 core on a Sparc Message-ID: <20050609194652.GA12582@nevyn.them.org> Mail-Followup-To: Aaron Gaudio , gdb@sources.redhat.com References: <1118344705.27729.7.camel@rockhopper> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1118344705.27729.7.camel@rockhopper> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00083.txt.bz2 On Thu, Jun 09, 2005 at 03:18:25PM -0400, Aaron Gaudio wrote: > The executable has a bunch of dll dependencies, with paths like > "/usr/lib/libsomething.so.1". These are fine on the x86 box, but on the > Sparc box, obviously "/usr/lib/libsomething.so.1" is a sparc binary and > not compatible. The x86 library is in a different directory (call > it /opt/i386-pc-solaris2.10-sysroot). I want to tell gdb to look at the > sysroot directory and not the absolute rpath specified in the > executable. Is there any way to do this? Either configure gdb using --with-sysroot, or use "set solib-absolute-prefix". -- Daniel Jacobowitz CodeSourcery, LLC