diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-04-23 05:17:59 -0400 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-04-23 05:17:59 -0400 |
commit | c9071ff95e5835e100e642ceba99a1bce8c3d02d (patch) | |
tree | bd19565f3a1a890f4af2d470c9f24f86f4c71b04 | |
parent | e651188f75ffff5a1091691e787209d3b53d5bb8 (diff) | |
download | gem5-c9071ff95e5835e100e642ceba99a1bce8c3d02d.tar.xz |
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.
-rw-r--r-- | src/base/debug.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |