Commit 4051d822 authored by hjk's avatar hjk
Browse files

debugger: remove obsolete add-symbol-file call

parent 8cb362ed
...@@ -1770,8 +1770,11 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result) ...@@ -1770,8 +1770,11 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
if (symbolFile.isEmpty()) { if (symbolFile.isEmpty()) {
logMessage(_("WARNING: No symbol file available.")); logMessage(_("WARNING: No symbol file available."));
} else { } else {
m_engine->postCommand("add-symbol-file \"" + symbolFile + "\" " // Does not seem to be necessary anymore.
+ QByteArray::number(m_session.codeseg)); // 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("symbol-file \"" + symbolFile + "\"");
} }
m_engine->postCommand("target remote " + gdbServerName().toLatin1(), m_engine->postCommand("target remote " + gdbServerName().toLatin1(),
......
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