I’d like to trace some code in GIMP and therefore need GIMP with debug symbols enabled. I don’t remember whether I have enabled them during compilation. How to check that without recompiling the program?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
fileandobjdumpon Linux. In particular,you can look at whether file says "stripped" or "not stripped"(under myUbuntu 20.04.1 LTS, whether an executable is compiled with-gor not showsnot strippedwithfilecommand. But the one with-g, showswith debug_info,in addition to that), and whetherobjdump --symsoutputs anything useful (for me, it says "no symbols" for a regular build).