Commit 500ab0f0 authored by Robert Loehning's avatar Robert Loehning
Browse files

debugger: Using macro, removed unused QString

parent 048275b0
......@@ -1650,7 +1650,6 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
logMessage(startMsg);
const QString fileName = m_symbolFile;
if (m_symbolFile.isEmpty()) {
logMessage(_("WARNING: No symbol file available."));
} else {
......@@ -1659,7 +1658,7 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
// 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 \"" + m_symbolFile + "\"");
m_engine->postCommand(_("symbol-file \"%1\"").arg(m_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