summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2008-12-17 17:43:01 +0100
committerhjk <qtc-committer@nokia.com>2008-12-17 17:43:01 +0100
commit5285379f18fc4e46a9bd3a92abda53df68eaec9c (patch)
tree940c0f7081cb3497c533650f4dc970ceaa6d8279 /bin
parent04c4a0ec720059414ddf1c702e1fb28e4876d2f9 (diff)
downloadqt-creator-5285379f18fc4e46a9bd3a92abda53df68eaec9c.tar.gz
make watchers persistent in the session
Diffstat (limited to 'bin')
-rw-r--r--bin/gdbmacros/gdbmacros.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gdbmacros/gdbmacros.cpp b/bin/gdbmacros/gdbmacros.cpp
index a3b3de6a4d..e99c4dc8a1 100644
--- a/bin/gdbmacros/gdbmacros.cpp
+++ b/bin/gdbmacros/gdbmacros.cpp
@@ -2157,6 +2157,7 @@ static void qDumpStdMap(QDumper &d)
// HACK: we need a properly const qualified version of the
// std::pair used. We extract it from the allocator parameter
+ // (#4, "std::allocator<std::pair<key, value> >")
// as it is there, and, equally importantly, in an order that
// gdb accepts when fed with it.
char *pairType = (char *)(d.templateParameters[3]) + 16;