From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27557 invoked by alias); 25 Feb 2006 04:39:07 -0000 Received: (qmail 27547 invoked by uid 22791); 25 Feb 2006 04:39:06 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 25 Feb 2006 04:39:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FCrCu-0003dk-FG; Fri, 24 Feb 2006 23:39:00 -0500 Date: Sat, 25 Feb 2006 23:18:00 -0000 From: Daniel Jacobowitz To: EJS Cc: gdb@sourceware.org Subject: Re: Trouble remote debugging Message-ID: <20060225043900.GA13941@nevyn.them.org> Mail-Followup-To: EJS , gdb@sourceware.org References: <20060225013054.86448.qmail@web35613.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060225013054.86448.qmail@web35613.mail.mud.yahoo.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00318.txt.bz2 On Fri, Feb 24, 2006 at 05:30:54PM -0800, EJS wrote: > One thing that I noticed is that the symbol tables for > the cross compiled shlibs are different than the ones > on the target (I checked this via objdump -T). Is this > the problem? If so how do I make them the same? You _must_ use the same libraries on both sides. The ones on the target can be stripped, but that's it - otherwise they must match. If you are running the program on a prebuilt native target, copy its libraries to your debug host. If you want to use the crosstool libraries, copy them to the appropriate locations on your target. You will probably want to use solib-absolute-prefix rather than solib-search-path; see the archives of this list for more information on that. -- Daniel Jacobowitz CodeSourcery