changeset a9be596271b7 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=a9be596271b7
description:
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:
src/base/debug.hh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 7e7cd19c9d9e -r a9be596271b7 src/base/debug.hh
--- a/src/base/debug.hh Wed Apr 23 05:17:57 2014 -0400
+++ b/src/base/debug.hh Wed Apr 23 05:17:59 2014 -0400
@@ -116,6 +116,8 @@
Flag *findFlag(const std::string &name);
+extern Flag *const All;
+
bool changeFlag(const char *s, bool value);
} // namespace Debug
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev