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]

gcc optimized stripped build with debug info


Hello!

I'm looking for the following:
I want to build a optimized build (-O2) and want in the case of a core dump to analyze the core dump with some debug information.


So it looks like the following:
1.) Optimized stripped build in the field
2.) A core is generated
3.) The core is analyzed with the executable and some debugging information file to get a pretty stacktrace.


How can this be achieved?

Thank you for the answer.

Ciao,
Gerhard


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