* gcc optimized stripped build with debug info
@ 2004-11-09 21:22 Gerhard Wiesinger
2004-11-10 11:28 ` Eljay Love-Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Wiesinger @ 2004-11-09 21:22 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc optimized stripped build with debug info
2004-11-09 21:22 gcc optimized stripped build with debug info Gerhard Wiesinger
@ 2004-11-10 11:28 ` Eljay Love-Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2004-11-10 11:28 UTC (permalink / raw)
To: Gerhard Wiesinger, gcc-help
Hi Gerhard,
I believe the answer to your question is "no".
Deploy an optimize build, but DON'T strip it. As I understand it,
stripping reduces the footprint of the file, but doesn't affect the
footprint in memory.
HTH,
--Eljay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-10 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 21:22 gcc optimized stripped build with debug info Gerhard Wiesinger
2004-11-10 11:28 ` Eljay Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).