I'm sure this has been asked before but I'm not sure what keywords to search for so I'm asking here.
I'd like to use eclipse to debug a software that was compiled outside of eclipse environment. It's a big project that uses autoconf/pthread/google perf tools/fortran math libraries/openmpi and other tools.
I just want to use CDT as a gui frontend to gdb so that I can see sourcecode, examine variables and navigate stack.
Is this possible?
Thanks a lot.
Spundun
ps: The code I'm referring to is google code m-a-d-n-e-s-s project
Sigh... Nobody has fixed that yet for Windows.
My machine is Linux so I can't help much with it.
This is a nice feature that it would be good to have for Windows.
I suggest you mention this to cdt-dev@ eclipse dot org.
Maybe a committer with a Windows machine can have a look.
I've managed to open the binary using eclipse cdt and can put breakpoints in main. But I can't figure out how to look up other functions and line numbers in other files. All I can do is text search the current file or the file that I've already stepped into. When I try C/C++ search it returns nothing for my queries. Even searching for the word "main" doesn't work. Is there a way to look up functions linked into the binary?