diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index e6ffdbd8a209a47c45ba09ed2d3cd4c20bc9c625..3be351e9490f39c7b876fe0a01728b0f3adb01c1 100644 --- a/share/qtcreator/gdbmacros/dumper.py +++ b/share/qtcreator/gdbmacros/dumper.py @@ -105,10 +105,8 @@ def lookupType(typestring): ts = ts[6:] elif ts.startswith("volatile "): ts = ts[9:] - elif ts.startswith("const "): - ts = ts[6:] - elif ts.startswith("volatile "): - ts = ts[9:] + elif ts.startswith("enum "): + ts = ts[5:] elif ts.endswith("const"): ts = ts[-5:] elif ts.endswith("volatile"):