forked from qt-creator/qt-creator
debugger: remove obsolete add-symbol-file call
(cherry picked from commit4051d8228b
) Conflicts: src/plugins/debugger/gdb/trkgdbadapter.cpp (cherry picked from commit8b5ab50f0e
)
This commit is contained in:
@@ -1654,9 +1654,12 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
|
|||||||
if (m_symbolFile.isEmpty()) {
|
if (m_symbolFile.isEmpty()) {
|
||||||
logMessage(_("WARNING: No symbol file available."));
|
logMessage(_("WARNING: No symbol file available."));
|
||||||
} else {
|
} else {
|
||||||
m_engine->postCommand(_("add-symbol-file \"%1\" %2").arg(m_symbolFile)
|
// Does not seem to be necessary anymore.
|
||||||
.arg(m_session.codeseg));
|
// FIXME: Startup sequence can be streamlined now as we do not
|
||||||
m_engine->postCommand(_("symbol-file \"%1\"").arg(m_symbolFile));
|
// 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(),
|
m_engine->postCommand(_("target remote ") + gdbServerName(),
|
||||||
CB(handleTargetRemote));
|
CB(handleTargetRemote));
|
||||||
|
Reference in New Issue
Block a user