This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DEBUG info


Hi folks !

I have a little question about debug info.

I'm developing a little application and i want to enable a button to run a
gdb/ddd session only if the
application selected is compiled with debug info.

How can i check if an exec applications has debug info inside ? I know that
gdb/ddd knows it
because when you run a debug session with an exec application without debug
info no source file
is displayed.

Thanks for your time!

Jorge Fernandez



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]