From c7a48c67c016c8b9a338ed19abbe855531fc12d2 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Fri, 28 Aug 2009 17:37:48 +0200
Subject: [PATCH] debugger: revert accidentally commited changes in the dumpers

---
 share/qtcreator/gdbmacros/gdbmacros.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp
index d045bf3a969..b9a658ea42d 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.cpp
+++ b/share/qtcreator/gdbmacros/gdbmacros.cpp
@@ -872,7 +872,7 @@ void QDumper::putHash(const char *name, QChar value)
     endHash();
 }
 
-#define DUMPUNKNOWN_MESSAGE "<not in scope*>"
+#define DUMPUNKNOWN_MESSAGE "<not in scope>"
 static void qDumpUnknown(QDumper &d, const char *why = 0)
 {
     //d.putItem("iname", d.iname);
@@ -1311,7 +1311,6 @@ static void qDumpQFileInfo(QDumper &d)
     if (d.dumpChildren) {
         d.beginChildren();
         d.putHash("absolutePath", info.absolutePath());
-#if 0
         d.putHash("absoluteFilePath", info.absoluteFilePath());
         d.putHash("canonicalPath", info.canonicalPath());
         d.putHash("canonicalFilePath", info.canonicalFilePath());
@@ -1327,7 +1326,6 @@ static void qDumpQFileInfo(QDumper &d)
         d.putHash("group", info.group());
         d.putHash("owner", info.owner());
         d.putHash("path", info.path());
-#endif
 
         d.putHash("groupid", (long)info.groupId());
         d.putHash("ownerid", (long)info.ownerId());
@@ -1355,7 +1353,6 @@ static void qDumpQFileInfo(QDumper &d)
         d.endHash();
         //QDir absoluteDir () const
         //QDir dir () const
-#if 0
         d.putHash("caching", info.caching());
         d.putHash("exists", info.exists());
         d.putHash("isAbsolute", info.isAbsolute());
@@ -1401,7 +1398,6 @@ static void qDumpQFileInfo(QDumper &d)
         d.putItem("type", NS"QDateTime");
         d.putItem("numchild", "1");
         d.endHash();
-#endif
 
         d.endChildren();
     }
-- 
GitLab