Change subject: python: Fix debug flag listing regression ...................................................................... python: Fix debug flag listing regression The PyBind11 changes slightly modified gem5's internal debug interfaces. The corresponding change to the public API went missing before the new bindings were merged. This change updates the Python glue to use the new interface. Change-Id: I3ecca5a3f6c35b99d55126d697371124f81a12dd Signed-off-by: Andreas Sandberg <[email protected]> Reviewed-by: Matteo Andreozzi <[email protected]> --- M src/python/m5/debug.py 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/m5/debug.py b/src/python/m5/debug.py index 75566de..839c32d 100644 --- a/src/python/m5/debug.py +++ b/src/python/m5/debug.py @@ -65,8 +65,8 @@ 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): -- To view, visit https://gem5-review.googlesource.com/3140 To unsubscribe, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3ecca5a3f6c35b99d55126d697371124f81a12dd Gerrit-Change-Number: 3140 Gerrit-PatchSet: 1 Gerrit-Owner: Andreas Sandberg <[email protected]> _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
Andreas Sandberg has uploaded this change for review. (
https://gem5-review.googlesource.com/3140
- [gem5-dev] Change in public/gem5[master]: python... Andreas Sandberg (Gerrit)
- [gem5-dev] Change in public/gem5[master]: p... Andreas Sandberg (Gerrit)
