From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4579 invoked by alias); 29 Apr 2002 22:19: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 4551 invoked from network); 29 Apr 2002 22:19:16 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 29 Apr 2002 22:19:16 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 172JUK-0007Ig-00 for ; Mon, 29 Apr 2002 18:19:16 -0400 Date: Mon, 29 Apr 2002 15:19:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: arm gdbserver and shared object function resolution Message-ID: <20020429181916.A27756@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <43CB1396676FD4119F03001083FD2994F5F178@neptune.kirkland.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CB1396676FD4119F03001083FD2994F5F178@neptune.kirkland.local> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00498.txt.bz2 On Mon, Apr 29, 2002 at 03:08:08PM -0700, Kevin Squail Endres wrote: > > I am using gdbserver from current cvs hosted and targeted for arm along with > gdb-5.1.1 hosted on i386 and target for arm. > > I am trying to set a breakpoint on a function inside a .so - i am doing the > following > > assume exec foo with function in shared object test > > target: running foo under gdbserver > > host: > 1) open foo under cross gdb > 2) target remote > 3) set break point at main > 4) continue > 5) attempt to set breakpoint in function in .so > > cant resolve symbols!! (NOTE: host .so has symbols) > > Further: if i use targer native gdb - set a breakpoint at main - run - then > set a break at function everything works as expected. > > Any info on why the above scenario is failing would be much appreciated! Because GDB 5.1.1 doesn't support remote debugging of shared libraries on ARM. Please try a current snapshot instead. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer