diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py
index 0a0bcec04dc94b283389e6c0f6b50306d387585f..6c08f19da8741e653add9ab063bf64590dca2165 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.py
+++ b/share/qtcreator/gdbmacros/gdbmacros.py
@@ -2048,6 +2048,11 @@ def qdump__std__set(d, item):
                         node = node["_M_left"]
 
 
+def qdump__std__stack(d, item):
+    data = item.value["c"]
+    qdump__std__deque(d, Item(data, item.iname))
+
+
 def qdump__std__string(d, item):
     data = item.value["_M_dataplus"]["_M_p"]
     baseType = item.value.type.unqualified().strip_typedefs()