Skip to contentSkip to conversation

gdbserver and c++

DISCUSSION khollan 1 participant 2 messages Aug 22, 2007 – Aug 24, 2007

lore
Share & tools
lore

khollan

author
#0 lore raw

Hi
Im having trouble debugging a C++ app through eclipse using gdbserver running on my ML410 board. I could debug a standard C app no problem but now I get a :
Cannot access memory at address 0x10010008
The program Im trying to debug is just using a couple cin and cout functions nothing too complicated. I think I have the shared libraries on Eclipse pointing to the root file system image on my host computer, i used the command
set solib-absolute-prefix /opt/crosstool/ml410_rfs
in a gdb command file that eclipse calls, is there anything else I need to add to it?
Thanks
Kevin

Signature · 2 lines
View this message in context: http://www.nabble.com/gdbserver-and-c%2B%2B-tf4313806.html#a12282029
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
author
#1 lore raw

Any suggestions Im completely lost

Signature · 2 lines
View this message in context: http://www.nabble.com/gdbserver-and-c%2B%2B-tf4313806.html#a12315137
Sent from the linuxppc-embedded mailing list archive at Nabble.com.