From f90be084c2e9a3ff42ae665267ab9ec2c88abeb4 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 25 Nov 2010 15:08:18 +0100
Subject: [PATCH] debugger: add notes that std::container dumpers are
 python-only

---
 tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
index 54b3cae5470..1224fe3cef4 100644
--- a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
+++ b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
@@ -1064,6 +1064,7 @@ void stringRefTest(const QString &refstring)
 
 void testStdDeque()
 {
+    // This is not supposed to work with the compiled dumpers.
     std::deque<int *> plist1;
     plist1.push_back(new int(1));
     plist1.push_back(0);
@@ -1087,6 +1088,7 @@ void testStdDeque()
 
 void testStdHashSet()
 {
+    // This is not supposed to work with the compiled dumpers.
 #if USE_GCC_EXT
     using namespace __gnu_cxx;
     hash_set<int> h;
@@ -1101,6 +1103,7 @@ void testStdHashSet()
 
 std::list<int> testStdList()
 {
+    // This is not supposed to work with the compiled dumpers.
     std::list<int> big;
     for (int i = 0; i < 10000; ++i)
         big.push_back(i);
@@ -1145,6 +1148,7 @@ std::list<int> testStdList()
 
 void testStdMap()
 {
+    // This is not supposed to work with the compiled dumpers.
 #if 0
     std::map<QString, Foo> gg3;
     gg3["22.0"] = Foo(22);
@@ -1203,6 +1207,7 @@ void testStdMap()
 
 std::set<int> testStdSet()
 {
+    // This is not supposed to work with the compiled dumpers.
     std::set<int> hgg0;
     hgg0.insert(11);
     hgg0.insert(22);
@@ -1221,7 +1226,7 @@ std::set<int> testStdSet()
 
 std::stack<int> testStdStack()
 {
-    // only works with Python dumper
+    // This is not supposed to work with the compiled dumpers.
     std::stack<int *> plist1;
     plist1.push(new int(1));
     plist1.push(0);
-- 
GitLab