Hi,

I know this problem has been alluded to in the past, but I haven't seen a workable solution to the exact problem I'm seeing. I'm running gdb 6.3 under Red Hat 9 on a PC accessing an ARM9 target board through gdbserver. Oh, and by the way, I refuse to work at the command line level so I'm running DDD on top of gdb.

In trying to debug a simple "Hello World" program, which appears to run correctly on the target outside of gdb, here's what I get. When I connect to the remote target via TCP, I get:

   0x40001470 in ?? ()

This in itself is suspicious. I don't recall ever seeing anything like this before using other remote targets. Then when I execute next, I get:

   Cannot access memory at address 0x0
   Cannot find bounds of current function

Hmmm, that last one leads me to believe gdb isn't finding the appropriate shared libraries. I tried executing the command:

   set solib-search-path <arm_library_path>

before connecting to the target.  Didn't work.

And why on earth should gdb be trying to access memory at address 0? Any thoughts???

Thanks,

Doug




_______________________________________________
Bug-gdb mailing list
Bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to