Commit 8b5ab50f authored by con's avatar con
Browse files

debugger: remove obsolete add-symbol-file call

(cherry picked from commit 4051d822)

Conflicts:

	src/plugins/debugger/gdb/trkgdbadapter.cpp
parent 81977e2d
......@@ -1654,9 +1654,12 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
if (m_symbolFile.isEmpty()) {
logMessage(_("WARNING: No symbol file available."));
} else {
m_engine->postCommand(_("add-symbol-file \"%1\" %2").arg(m_symbolFile)
.arg(m_session.codeseg));
m_engine->postCommand(_("symbol-file \"%1\"").arg(m_symbolFile));
// Does not seem to be necessary anymore.
// FIXME: Startup sequence can be streamlined now as we do not
// have to wait for the TRK startup to learn the load address.
//m_engine->postCommand("add-symbol-file \"" + symbolFile + "\" "
// + QByteArray::number(m_session.codeseg));
m_engine->postCommand("symbol-file \"" + symbolFile + "\"");
}
m_engine->postCommand(_("target remote ") + gdbServerName(),
CB(handleTargetRemote));
......
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