This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: questions about immediate_quit...


> Thoughts?

Consistent usage of global variables is a worthy cause.

The decl should also have a stern comment next to it explaining how the
variable is to be used, so people have no excuse when they do it wrong.
(This is why fixing the bogus uses is important, so they cannot complain
"but foo.c did it that way"...)

-- 
Todd Whitesel
toddpw @ windriver.com

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