This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: debug_reload output
- To: amylaar at cygnus dot co dot uk
- Subject: Re: debug_reload output
- From: chris at lslsun dot epfl dot ch (Christian Iseli)
- Date: Wed, 15 Oct 1997 11:32:12 +0200
- Cc: jfc at mit dot edu, egcs at cygnus dot com
> > Ok, then how about having a global variable debug_reload_stream initialized
> > to stderr, instead of the parameter? Does this sound like a better proposition?
>
> This solves the practical problems, but why do you prefer adding a new global
> variable to adding a new function? In general, adding global variables
> has a higher impact on subsequent maintenance than adding a new simple
> function.
'cause I get mails in shuffled order... :-) As strange as it may seem, I get
my own mails back from the list later than some of the answers to them...
I agree that the two function thing is the best approach. How about
debug_reload_to_stream(FILE *) as the new function?
Christian