From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22834 invoked by alias); 20 Jul 2004 00:30:39 -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 22814 invoked from network); 20 Jul 2004 00:30:38 -0000 Received: from unknown (HELO smtp801.mail.sc5.yahoo.com) (66.163.168.180) by sourceware.org with SMTP; 20 Jul 2004 00:30:38 -0000 Received: from unknown (HELO BDENSONLAPTOP) (bdenson@wa-ventures.com@66.25.90.138 with login) by smtp801.mail.sc5.yahoo.com with SMTP; 20 Jul 2004 00:30:37 -0000 From: "Brock Denson" To: Subject: gdb and gdbserver on arm9 platform Date: Tue, 20 Jul 2004 04:22:00 -0000 Message-ID: <004401c46df0$c562ed70$6400a8c0@BDENSONLAPTOP> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2004-07/txt/msg00255.txt.bz2 i am trying to debug an arm9 (at91rm9200dk) board with gdb 6.1.1. i have compiled gdb and gdbserver, copied gdbserver to the target, compiled my target executable with the -g option and copied it to the target. the program (a simple hello world) runs on the target. i started the gdbserver on the target (linux 2.4.26vrs1) with "gdbserver myhost:2345 /usr/bin/hello" and see 'process /usr/bin/hello created; pid =3D 27' i started gdb on the h= ost (x86 suse linux 9.1pro) with "gdb /project/hello/hello" with no errors. then "target remote mytarget:2345" and see: Remote debugging using mytarget:2345 0x40002aa0 in ?? () if i try to step through the program i get the following error: Cannot access memory at address 0x0 Cannot find bounds of current function what am i doing wrong. i cant seem to find any reference in the mailing lists to this problem. i am following the 'building embedded linux systems' book as closely as i can. thanks in advance, Brock Denson WAIV bdenson@wa-ventures.com 210 849-1988