Mail Archives: djgpp-workers/2001/12/23/05:27:51
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Thu, 20 Dec 2001 11:03:48 -0600 (CST)
>
> > > Don't build it into a DXE until you've debugged it?
> >
> > IMHO, that is not a very good alternative. E.g., imagine a DLL
> > written by someone else.
>
> It would be similar today to debugging a stripped EXE image.
An analogy with stripped programs is not what I had in mind. A
dynamic library can be distributed unstripped. Since a dynamic
library eats up its disk space only once, it might actually make sense
not to strip it, since disk space is not a bug issue anymore.
> At this point it's probably worth while talking about what a DXE currently
> is. You take a coff object file, strip the headers and replace the
> symbols/relocations with a pre-processed compressed fixup vector..
>
> You could take the code inside DXEGEN and have it all done at runtime
> (for a much bigger loader footprint) using a coff format .o file. If
> you wanted to retain symbols for debugging this is probably what you
> would need for GDB support.
How about making the debugging info a separate file? Would that be
reasonable? I think GDB could handle that.
- Raw text -