From: Steve Reinhardt Date: Tue, 17 Jan 2012 03:00:59 +0000 (-0800) Subject: debug: fix AllFlags::disable() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1585cfb5b5df37f92c0ed053f951019966a6a05a;p=gem5.git 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. --- 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(); } };