[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb and shared libraries
From: |
Doug Abbott |
Subject: |
gdb and shared libraries |
Date: |
Sun, 30 Apr 2006 22:09:31 -0600 |
User-agent: |
Thunderbird 1.5.0.2 (Windows/20060308) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gdb and shared libraries,
Doug Abbott <=