This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Standard scheme for maintainer-only debugging code?



On Tuesday, Jun 10, 2003, at 21:33 America/New_York, Geoff Keating wrote:
I really don't think that would be a good idea.

I actually agree. Having to recompile when building a compiler for
debugging is not such a big deal IMO. We could set things up so that
all debugging flags can be made either variables or constants, possibly
depending on a configure-time option. Once debugging, you can just
enable/disable debugging options by changing the variable from the debugger.
No need to recompile or even restart anything.


-Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]