summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2014-04-23 05:17:59 -0400
committerCurtis Dunham <Curtis.Dunham@arm.com>2014-04-23 05:17:59 -0400
commitc9071ff95e5835e100e642ceba99a1bce8c3d02d (patch)
treebd19565f3a1a890f4af2d470c9f24f86f4c71b04 /src/base
parente651188f75ffff5a1091691e787209d3b53d5bb8 (diff)
downloadgem5-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.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/debug.hh2
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