diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index 1034150230965b7cafe52655763aee80142bb18f..22e76fe7d51a59bc7ad55f0c13a9a90d5994b055 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()