[ACCEPTED]-GDB debugger problems - No source file named-gdb
GDB locates source files by file path/name 6 from the object module debug information. So 5 if you moved your sources you should rebuild 4 your project. This can also happen if you 3 are running on a different host which has 2 no visibility to your source at all.
The 1 most important thing to remember is:
- Debug information doesn't contain the source itself, but only the path where to find it. People often don't know this.
More Related questions