This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc optimized stripped build with debug info
- From: Gerhard Wiesinger <lists at wiesinger dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 9 Nov 2004 22:22:34 +0100 (CET)
- Subject: 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