From: Curtis Dunham <Curtis.Dunham@arm.com> Date: Wed, 23 Apr 2014 09:17:59 +0000 (-0400) Subject: base: explicitly suggest potential use of 'All' debug flags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9071ff95e5835e100e642ceba99a1bce8c3d02d;p=gem5.git base: explicitly suggest potential use of 'All' debug flags Without this declaration, new clangs will complain about this value being unused. It has no explicit use in the codebase, but it can be useful to turn on all debugging flags while in a debugger to greatly increase simulator verbosity. --- diff --git a/src/base/debug.hh b/src/base/debug.hh index 589e8fa42..1cd64cfc2 100644 --- a/src/base/debug.hh +++ b/src/base/debug.hh @@ -116,6 +116,8 @@ FlagsMap &allFlags(); Flag *findFlag(const std::string &name); +extern Flag *const All; + bool changeFlag(const char *s, bool value); } // namespace Debug