Commit b944e1eb authored by hjk's avatar hjk
Browse files

debugger: load the gdb macro based dumpers only once per session.

parent 4d1bae47
......@@ -3707,11 +3707,11 @@ void GdbEngine::tryLoadDebuggingHelpers()
if (m_debuggingHelperState != DebuggingHelperUninitialized)
return;
if (!startModeAllowsDumpers()) {
// load gdb macro based dumpers at least
// Load at least gdb macro based dumpers.
QFile file(_(":/gdb/gdbmacros.txt"));
file.open(QIODevice::ReadOnly);
QByteArray contents = file.readAll();
//qDebug() << "CONTENTS: " << contents;
m_debuggingHelperState = DebuggingHelperLoadTried;
postCommand(_(contents));
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment