From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29966 invoked by alias); 20 Nov 2002 19:21:30 -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 29958 invoked from network); 20 Nov 2002 19:21:27 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 20 Nov 2002 19:21:27 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18EcI5-0005dd-00; Wed, 20 Nov 2002 15:21:45 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18EaPd-0003ev-00; Wed, 20 Nov 2002 14:21:25 -0500 Date: Wed, 20 Nov 2002 11:21:00 -0000 From: Daniel Jacobowitz To: Paul Mundt Cc: gdb@sources.redhat.com Subject: Re: gdbserver on PowerPC Issues Message-ID: <20021120192125.GA14049@nevyn.them.org> Mail-Followup-To: Paul Mundt , gdb@sources.redhat.com References: <1037812916.1315.22.camel@Origin> <20021120183953.GC24089@nevyn.them.org> <1037820175.1317.30.camel@Origin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037820175.1317.30.camel@Origin> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00286.txt.bz2 On Wed, Nov 20, 2002 at 02:22:56PM -0500, Paul Mundt wrote: > On Wed, 2002-11-20 at 13:39, Daniel Jacobowitz wrote: > > The problem is presumably that you haven't told GDB where to look for > > the dynamic linker and shared libraries. Try using 'set > > solib-absolute-prefix' before you 'target remote'. > > > Ah! This was indeed the problem. Though oddly enough, adjusting > solib-absolute-prefix didn't make the problem go away. I had to set it > to /dev/null and then set solib-search-patch to the proper directory > before the issue would fix itself. > > There was some CRIS documentation hinting that that would only be > necessary if the end of the path wasn't /lib, but in this case it was. Mind setting solib-absolute-prefix and stracing GDB to see what it was opening, then? It really should work. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer