Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb and gdbserver on arm9 platform
@ 2004-07-20  4:22 Brock Denson
  0 siblings, 0 replies; only message in thread
From: Brock Denson @ 2004-07-20  4:22 UTC (permalink / raw)
  To: gdb

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 = 27' i started gdb on the host
(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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-20  0:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-20  4:22 gdb and gdbserver on arm9 platform Brock Denson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox