summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-01-25 01:36:08 +0100
committerhjk <hjk@theqtcompany.com>2015-01-26 09:13:53 +0100
commit4c928f60990806d11110886f02f5e302e76d6230 (patch)
tree12b99f61d99ec12d93790c294c06a62ac1b6bd10 /src
parente2f12fa02b1f86cb74eae8b3c6ccdd63b7b85741 (diff)
downloadqt-creator-4c928f60990806d11110886f02f5e302e76d6230.tar.gz
Debugger: Disable GDB's own pretty printers when use is not wanted
Saves up to 20% on large uniform structures. Change-Id: I98c8c942f0accac7e2db1d8b06bf7ed156967306 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 67975ddbc0..c25bab5160 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1534,7 +1534,9 @@ void GdbEngine::handleStop1(const GdbMi &data)
if (!m_systemDumpersLoaded) {
m_systemDumpersLoaded = true;
if (m_gdbVersion >= 70400 && boolSetting(LoadGdbDumpers))
- postCommand("importPlainDumpers");
+ postCommand("importPlainDumpers on");
+ else
+ postCommand("importPlainDumpers off");
}
handleStop2(data);