[ACCEPTED]-GDB debugger problems - No source file named-gdb
Accepted answer
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.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.