This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Trying to debug an x86 core on a Sparc
- From: Daniel Jacobowitz <drow at false dot org>
- To: Aaron Gaudio <agaudio at eng dot mc dot xerox dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 9 Jun 2005 15:46:52 -0400
- Subject: Re: Trying to debug an x86 core on a Sparc
- References: <1118344705.27729.7.camel@rockhopper>
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