This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]