summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2012-01-16 19:00:59 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2012-01-16 19:00:59 -0800
commit1585cfb5b5df37f92c0ed053f951019966a6a05a (patch)
tree991d25beaf14d0f1ff720a1d6e292a324e5f17e4 /src
parenta7394ad6807bd5e85f680184bf308673ca00534a (diff)
downloadgem5-1585cfb5b5df37f92c0ed053f951019966a6a05a.tar.xz
debug: fix AllFlags::disable()
Looks like copy-and-paste bug, apparently I'm the first person to ever use this since it's plainly broken.
Diffstat (limited to 'src')
-rw-r--r--src/base/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/debug.cc b/src/base/debug.cc
index 71675aada..ba154f377 100644
--- a/src/base/debug.cc
+++ b/src/base/debug.cc
@@ -134,7 +134,7 @@ struct AllFlags : public Flag
FlagsMap::iterator end = allFlags().end();
for (; i != end; ++i)
if (i->second != this)
- i->second->enable();
+ i->second->disable();
}
};