From a23a45da8859232efb5ed8ccd74956faa5f3dd00 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Fri, 17 Dec 2010 18:02:02 +0100
Subject: [PATCH] debugger: fix previous commit

---
 share/qtcreator/gdbmacros/dumper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 10341502309..22e76fe7d51 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -228,7 +228,7 @@ def parseAndEvaluate(exp):
 
 def catchCliOutput(command):
     try:
-        return gdb.execute(command, to_string=True)
+        return gdb.execute(command, to_string=True).split("\n")
     except:
         pass
     filename, file = createTempFile()
-- 
GitLab