This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
bdi2000 and gdb (newbie question)
- From: Mark Beckwith <mark at intrig dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 26 Aug 2004 15:57:15 -0500
- Subject: bdi2000 and gdb (newbie question)
I've got a bdi2000 and Cogent csb337 running the micromonitor boot loader.
I've been able to compile and download the umon to the csb337 successfully
using the bdi2000 and jtag interface.
However, I can't seem to step through the code. I
After loading the CSB337_tst.elf file into ram, from the host I run:
prompt> gdb CSB337_tst.elf
(gdb) target remote 192.168.100.44:2001
Remote debugging using 192.168.100.44:2001
0x00000000 in ?? ()
// Ok, then I try to step:
(gdb) step
Cannot find bounds of current function
// I can set breakpoints:
(gdb) b main
Breakpoint 1 at 0x2011beac: file main.c, line 45.
(gdb) c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x63655220 in ?? ()
(gdb) step
Cannot find bounds of current function
I hope you can see something obvious that I'm doing wrong, and point me in
the right direction.
Thanks,
Mark
--
Mark Beckwith, Intrig (http://www.intrig.com)