We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No debugging symbols found in GDB
Problem_1.zip
f0dca9e
The text was updated successfully, but these errors were encountered:
make BUILD
Error occurs when using gdb build/main.out. I have added -g3 tag to the gcc compiler.
gdb build/main.out
-g3
gcc
Sorry, something went wrong.
從你的截圖中,首先gdb的file指令的參數是欲debug的executable或object file而非source code,此外你的檔案應該是在buid/目錄底下(build/main.c之類的)。 如果你編譯executable時編譯參數有-g的話,直接用gdb跑它就會有debugging information了不需要再額外reference source code。 希望有回答道你的問題。
鄭豫澤: [email protected]
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
No debugging symbols found in GDB
File
Problem_1.zip
f0dca9e
The text was updated successfully, but these errors were encountered: