From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9853 invoked by alias); 26 Apr 2002 00:23:24 -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 9846 invoked from network); 26 Apr 2002 00:23:23 -0000 Received: from unknown (HELO neptune.kirkland.local) (12.104.72.61) by sources.redhat.com with SMTP; 26 Apr 2002 00:23:23 -0000 Received: by neptune.kirkland.local with Internet Mail Service (5.5.2650.21) id ; Thu, 25 Apr 2002 17:23:20 -0700 Message-ID: <43CB1396676FD4119F03001083FD2994F5F160@neptune.kirkland.local> From: "Kevin \"Squail\" Endres" To: 'Daniel Jacobowitz' Cc: "'gdb@sources.redhat.com'" Subject: RE: gdbserver and arm - please help Date: Thu, 25 Apr 2002 17:23:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2002-04/txt/msg00452.txt.bz2 I get the same behavior with the current snapshot. should the below scenario work - or is it still a work in progress. if it is a work in progress should any remote debugging scenarios work with the below configurations? :]k -----Original Message----- From: Daniel Jacobowitz [mailto:drow@mvista.com] Sent: Thursday, April 25, 2002 4:08 PM To: Kevin Squail Endres Cc: 'gdb@sources.redhat.com' Subject: Re: gdbserver and arm - please help 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