From 14666c801aeaa4a7b12ed43e33f50e71f4345269 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 25 May 2020 11:15:07 +0200 Subject: [PATCH] Debugger: Drop 'set print object on' for GDB This does not seem to affect the code paths we are using through Python. Task-number: QTCREATORBUG-23965 Change-Id: I2e20d6d3c1937d56293e81b74c453e83a92ddc4c Reviewed-by: Christian Stenger --- src/plugins/debugger/gdb/gdbengine.cpp | 1 - tests/auto/debugger/tst_dumpers.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 0fadcc150a1..c1cb8c7badd 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3637,7 +3637,6 @@ void GdbEngine::setupEngine() //runCommand("define hookpost-stop\nprint 5\nend"); //runCommand("define hook-call\nprint 6\nend"); //runCommand("define hookpost-call\nprint 7\nend"); - runCommand({"set print object on"}); //runCommand("set step-mode on"); // we can't work with that yes //runCommand("set exec-done-display on"); //runCommand("set print pretty on"); diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 20a197f8024..68b5f1f499b 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -1532,7 +1532,6 @@ void tst_Dumpers::dumper() #else "file doit\n" #endif - "set print object on\n" "set auto-load python-scripts off\n"; cmds += "python sys.path.insert(1, '" + dumperDir + "')\n"