diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py
index 896d943093b0cb7815e7b830291ab6b1708f498e..cda5a040f9834177a1c387532190fe63cb408ad8 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.py
+++ b/share/qtcreator/gdbmacros/gdbmacros.py
@@ -1804,9 +1804,9 @@ def qdump__std__map(d, item):
                 d.putValue(" ")
                 if d.isExpandedIName("%s.%d" % (item.iname, i)):
                     d.beginChildren(2, None)
-                    iname = "%s.%d." % (item.iname, i)
-                    keyItem = Item(pair["first"], iname + "key", "key", "first")
-                    valueItem = Item(pair["second"], iname + "value", "value", "second")
+                    iname = "%s.%d" % (item.iname, i)
+                    keyItem = Item(pair["first"], iname, "first", "first")
+                    valueItem = Item(pair["second"], iname, "second", "second")
                     d.putItem(keyItem)
                     d.putItem(valueItem)
                     d.endChildren()