how to remote debug a shared library? [message #823004] |
Sat, 17 March 2012 12:27  |
Eclipse User |
|
|
|
Hi all,
my dev machine : Win7,CDT
target machine : Linux
currently, i
1)write code in Eclipse/CDT on my dev machine,
2)then upload it to the linux,
3)then compile it into a shared library(not an executable),
4)and run a program which will load my library, to test whether my code works as expected.
here my question is how can i debug my code from within the CDT on my win7?
the code is never compiled in the CDT as it can only be compiled on the linux.
thanks
|
|
|
|
|
|
Re: how to remote debug a shared library? [message #824408 is a reply to message #824346] |
Mon, 19 March 2012 12:29  |
Eclipse User |
|
|
|
1.it seems the gdbserver on my linux does NOT accept the --multi option.
2.i made the gdbserver attach the process, then i lauched the debug perspective, but was told that "No source available for "0x907b86".
although sad, but this is wat not unexpected. the source files can NOT be compiled on my host, they are compiled on linux into a shared library, which i think makes things complicated.
thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.08581 seconds