projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e651188
)
base: explicitly suggest potential use of 'All' debug flags
author
Curtis Dunham
<Curtis.Dunham@arm.com>
Wed, 23 Apr 2014 09:17:59 +0000
(
05:17
-0400)
committer
Curtis Dunham
<Curtis.Dunham@arm.com>
Wed, 23 Apr 2014 09:17:59 +0000
(
05:17
-0400)
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.
src/base/debug.hh
patch
|
blob
|
history
diff --git
a/src/base/debug.hh
b/src/base/debug.hh
index 589e8fa427551464c140e501fc0bcac556c47c5f..1cd64cfc28782463b8ef4910ae124b603a095c67 100644
(file)
--- 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