From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22293 invoked by alias); 17 Jul 2003 20:30:18 -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 22285 invoked from network); 17 Jul 2003 20:30:16 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 17 Jul 2003 20:30:16 -0000 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19dFOK-0007I8-00 for ; Thu, 17 Jul 2003 16:30:16 -0400 Date: Thu, 17 Jul 2003 20:30:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: cross-debugging with gdbserver, why can't gdb find breakpoint function? Message-ID: <20030717203016.GA28000@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <200307171620.38131.jon.ringle@comdial.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307171620.38131.jon.ringle@comdial.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00223.txt.bz2 On Thu, Jul 17, 2003 at 04:20:38PM -0400, Jon Ringle wrote: > > On Thursday 17 July 2003 04:00 pm, David Wuertele wrote: > > Why is gdb trying to open /lib/ld.so.1? That /lib directory has > > nothing to do with the target libs. The target libs can be found in > > /nfsroot/lib. How do I tell gdb to look there instead of /lib? > > > this worked for me on my arm crossgdb: > > (gdb) set solib-absolute-prefix /dev/null > (gdb) set solib-search-path /nfsroot/lib Please, don't do it that way. For David's setup the right way is: (gdb) set solib-absolute-prefix /nfsroot If you can point to somewhere you looked in the documentation and didn't see this, I'd love to improve it. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer