I'd like to debug to debug a remote application with GDB.
My target system is a FreeBSD 8.3 box with gdbserver
running. The application has been compiled successfully on that box. My Eclipse CDT 4.2 runs on Windows 7 with recent MinGW installed.
This is an external program I'd like to debug. It is neither written by me nor I do have it as a library. I do not intend to write my own program. In this case it is Subversion 1.8.0-dev which I want to debug.
I have created a simple C project, attached the source of Subversion. Created a remote debug config and attached the sources to the running thread in gdbserver
.
Now, eclipse enters the main
function of Subversion but when I set a breakpoint in another attached source file, Eclipse says: No source file named ra_loader.c
or it simply says "No source available".
Then It simply exists the application.
What am I missing here?