From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9945 invoked by alias); 25 Apr 2002 23:08:16 -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 9937 invoked from network); 25 Apr 2002 23:08:16 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 25 Apr 2002 23:08:16 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 170sLg-000868-00; Thu, 25 Apr 2002 19:08:24 -0400 Date: Thu, 25 Apr 2002 16:08:00 -0000 From: Daniel Jacobowitz To: Kevin Squail Endres Cc: "'gdb@sources.redhat.com'" Subject: Re: gdbserver and arm - please help Message-ID: <20020425190824.B31091@nevyn.them.org> Mail-Followup-To: Kevin Squail Endres , "'gdb@sources.redhat.com'" References: <43CB1396676FD4119F03001083FD2994F5F15D@neptune.kirkland.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CB1396676FD4119F03001083FD2994F5F15D@neptune.kirkland.local> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00451.txt.bz2 On Thu, Apr 25, 2002 at 04:04:38PM -0700, Kevin Squail Endres wrote: > i am trying to get gdbserver working on the arm (through applying various > patches - i can get it to build correctly - but it doesnt function as i > would expect) > > i386 environment: gdb-5.1.1 crosstargeted for arm binaries (i can read the > symbol info from the binaries correctly - it works as expected) > > arm: gdbserver built for the arm target with the attached patches applied (i > built the full gdb targeted and hosted on the arm - it works correctly on > the arm) - i also edited config.h in the gdb dir to define the NM file > (config/arm/nm-linux.h) - it compiles without error. > > when i run a program under gdbserver and target remote via gdb (using TCP) - > the connection is formed but i get: > > 0x40002520 in ??() echoed to gdb. > > if i do 'info stack' in gdb > > i get: > #0 0x40002520 in ??() > #1 0x0000000 in ??() in gdb > > if i 'step' or 'next': > 'Cannot find bounds of current function' > > kill terminates the program as expected. > > Any help is appreciated! Please try a current CVS snapshot. GDBserver has undergone substantial work since 5.1.1. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer