gcc optimized stripped build with debug info

Gerhard Wiesinger lists@wiesinger.com
Tue Nov 9 21:22:00 GMT 2004


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.


More information about the Gcc-help mailing list