Mail Archives: djgpp-workers/1999/11/01/12:44:40
On Sun, 31 Oct 1999, Marty Leisner wrote:
> 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).
But you still can get the same info as with -g if you later recompile
with -g and *then* debug the core file, right?
That's exactly what happens with DJGPP-style traceback: you can't get
line numbers info if the binary was stripped, but if you save the
traceback and rebuild with -g, you can have the line numbers info.
That's why I think that lack of core files shouldn't matter in this
case: the effect of having a stripped binary on the traceback and on
the core file is similar.
> 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...
SYMIFY reads the stack frame traceback from the video memory (or,
under a special option, from a file), and then adds source file name
and line number information to it. For this to work, the binary needs
to be unstripped.
- Raw text -