This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Standard scheme for maintainer-only debugging code?
- From: Geert Bosch <bosch at gnat dot com>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: neroden at twcny dot rr dot com, gcc at gcc dot gnu dot org
- Date: Tue, 10 Jun 2003 21:39:39 -0400
- Subject: 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