From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1582 invoked by alias); 20 Nov 2002 19:29:58 -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 1571 invoked from network); 20 Nov 2002 19:29:56 -0000 Received: from unknown (HELO cygnus.equallogic.com) (65.170.102.10) by sources.redhat.com with SMTP; 20 Nov 2002 19:29:56 -0000 Received: from cygnus.equallogic.com (localhost.localdomain [127.0.0.1]) by cygnus.equallogic.com (8.11.6/8.11.6) with ESMTP id gAKJTtW02648 for ; Wed, 20 Nov 2002 14:29:55 -0500 Received: from deneb.dev.equallogic.com (deneb.dev.equallogic.com [172.16.1.99]) by cygnus.equallogic.com (8.11.6/8.11.6) with ESMTP id gAKJTt502636; Wed, 20 Nov 2002 14:29:55 -0500 Received: from pkoning.dev.equallogic.com.equallogic.com (localhost.localdomain [127.0.0.1]) by deneb.dev.equallogic.com (8.11.6/8.11.6) with ESMTP id gAKJTsh32560; Wed, 20 Nov 2002 14:29:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15835.58034.655312.738765@pkoning.dev.equallogic.com> Date: Wed, 20 Nov 2002 11:29:00 -0000 From: Paul Koning To: drow@mvista.com Cc: paul.mundt@timesys.com, gdb@sources.redhat.com Subject: Re: gdbserver on PowerPC Issues References: <1037812916.1315.22.camel@Origin> <20021120183953.GC24089@nevyn.them.org> <1037820175.1317.30.camel@Origin> <20021120192125.GA14049@nevyn.them.org> X-SW-Source: 2002-11/txt/msg00289.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> 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. Daniel> Mind setting solib-absolute-prefix and stracing GDB to see Daniel> what it was opening, then? It really should work. Depends on whether the library names are given in the image with a leading slash or not. If yes, then the absolute prefix setting matters; if not, the search path. paul