Mail Archives: djgpp-workers/1999/10/31/15:33:43
Yes, stripping prevents core dumps from giving any useful information...
When you give -g, you can get line number/parameters in the core dump.
When you do nothing, you get minimal information (i.e. the stack backtrace,
no parameters).
Experience shows the difference between -s and no -s is about 10%.
On the other hand, -g often inflates binaries 1000%. Also the
threaded -fomit-frame-pointer makes stack backtraces impossible...it
gives marginal code speedup but makes anything meaningful impossible
(My production Linux system often core's once in a while with various
distributed commands...I would love marginal information in the core dump...
I haven't used djgpp in several years, if symify is the equavilent to reading
the stack on a core dump, by all means make it the default behavior...
Marty Leisner
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes on Sun, 31 Oct 1999 09:43:01 +0200
>
> On Thu, 28 Oct 1999, DJ Delorie wrote:
>
> > > Can you do anything useful with a core dump (a minimal stack
backtrace?)
> >
> > There are no core dumps in djgpp; only symify.
>
> Suppose we did have core files: how would this change things? I'd
> think it won't, since symify is the functional equivalent of the core
> dump as far as the backtrace is concerned. I don't think stripping
> prevents core dump from happening on Unix, does it?
- Raw text -