LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is debugging information ENABLED? (https://www.linuxquestions.org/questions/linux-newbie-8/is-debugging-information-enabled-727209/)

Sergiu14 05-20-2009 02:18 AM

Is debugging information ENABLED?
 
I got a shared object file, and I don't know if it's containing debugging information. How can I know that? Maybe there is a command or something? (the C source file was compiled with gcc to get the shared lib, but I don't know if the '-g' flag was passed). I tried the scenario of creating a shared object.. but I can't jump to it from gdb(from another C program which was linked with the shared obj. and uses its functions), either I'm compiling it or not with '-g' flag (library/main program).


All times are GMT -5. The time now is 03:39 PM.