From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7327 invoked by alias); 9 Jun 2005 19:19:09 -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 7134 invoked by uid 22791); 9 Jun 2005 19:19:02 -0000 Received: from wbmler1.mail.xerox.com (HELO wbmler1.mail.xerox.com) (13.13.138.216) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 09 Jun 2005 19:19:02 +0000 Received: from wbmlir3.mail.xerox.com (wbmlir3.mail.xerox.com [13.131.8.223]) by wbmler1.mail.xerox.com (8.13.4/8.13.1) with ESMTP id j59JJ1w3019684 for ; Thu, 9 Jun 2005 15:19:01 -0400 Received: from wbmlir3.mail.xerox.com (localhost [127.0.0.1]) by wbmlir3.mail.xerox.com (8.13.4/8.13.1) with ESMTP id j59JITq8032595 for ; Thu, 9 Jun 2005 15:18:29 -0400 Received: from mailhost.eng.mc.xerox.com (romeo.ess.mc.xerox.com [13.1.87.14]) by wbmlir3.mail.xerox.com (8.13.4/8.13.1) with ESMTP id j59JITQf032590 for ; Thu, 9 Jun 2005 15:18:29 -0400 Received: from rockhopper (rockhopper [13.142.232.138]) by mailhost.eng.mc.xerox.com (8.11.6+Sun/8.9.3) with ESMTP id j59JGTb22821 for ; Thu, 9 Jun 2005 15:16:29 -0400 (EDT) Subject: Trying to debug an x86 core on a Sparc From: Aaron Gaudio To: gdb@sources.redhat.com Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5gSvzDUpBuJnO1V8Hyoe" Date: Thu, 09 Jun 2005 19:19:00 -0000 Message-Id: <1118344705.27729.7.camel@rockhopper> Mime-Version: 1.0 X-SW-Source: 2005-06/txt/msg00081.txt.bz2 --=-5gSvzDUpBuJnO1V8Hyoe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1103 Hello all, I've got gdb built using the configure arg '--target i386-pc- solaris2.10', on build host 'sparc-sun-solaris2.8'. I'm trying to debug a core file which was produced on an x86 Solaris 10 box. I do have a copy of the x86 executable available on the sparc box. I try to load the executable and core using i386-pc-solaris2.10-gdb core executable 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? --=20 Aaron Gaudio agaudio @ eng.mc.xerox.com 585-422-6876 While life is yours, live joyously; None can escape Death's searching eye: When once this frame of ours they burn, How shall it e'er again return? --=-5gSvzDUpBuJnO1V8Hyoe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iEYEABECAAYFAkKolgEACgkQEbHgw5SciQZ75ACg4Al7z5TZVGjGtFG4XlM3SljQ AEMAoK0KR4+BUN7MB7ACsBMDD1cz8boX =sgxC -----END PGP SIGNATURE----- --=-5gSvzDUpBuJnO1V8Hyoe--