Standard scheme for maintainer-only debugging code?

Geert Bosch bosch@gnat.com
Wed Jun 11 01:48:00 GMT 2003


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



More information about the Gcc mailing list