Hi, I'm mostly developing C++ applications with g++ on solaris 10, x64 boxes. These applications are built and deployed with symbols, but without sources on the remote site. When debugging you can then set breakpoints and inspect variables, but you have to "manually" map the reported line numbers to an editor (usually vim/gvim) where you keep opened the relevant source file available locally. Is there anything that automates that? My idea would be to have a local vim/gvim instance running with access to the local sources, while the remote gdb sessions tells it "go to this file, at this line" each time I step in the remotely debugged code. I've searched a bit, but it seems I couldn't find anything for that. Clewn did seem promising, but as far as I could understand, it requires a vim/gvim running on the deployed host (while my sources are on my local host) side by side with gdb.
EDIT: As a further clarification: local machines are usually Windows PC, or other solaris 10 hosts. To remove some already investigated options upfront: gdbserver is not an option for me because:
- Solaris 10 (x86 or Sparc) platform is not supported
- Even if supported, it would make using windows pc as local machines very difficult since I'd need to run a cross-compiling gdb there.
Thanks, Andrea.