summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/debug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/debug.py b/src/python/m5/debug.py
index 75566decd..839c32d98 100644
--- a/src/python/m5/debug.py
+++ b/src/python/m5/debug.py
@@ -65,8 +65,8 @@ class AllFlags(DictMixin):
return
self._dict.clear()
- for flag in _m5.debug.getAllFlags():
- self._dict[flag.name()] = flag
+ for name, flag in _m5.debug.allFlags().items():
+ self._dict[name] = flag
self._version = current_version
def __contains__(self, item):