Commit 65592579 authored by hjk's avatar hjk
Browse files

debugger: replace the hack to pass the remote executable name for trk by

one that's less hard-coded.

The remote executable is now read from the debugger argument list
parent f0a30f4a
......@@ -1404,10 +1404,10 @@ void TrkGdbAdapter::startAdapter()
m_remoteExecutable = parameters.executable;
m_symbolFile = parameters.symbolFileName;
// @todo: testing hack, remove!
// FIXME: testing hack, remove!
if (m_remoteExecutable.endsWith(_(".sym"))) {
m_symbolFile = m_remoteExecutable;
m_remoteExecutable = QLatin1String("C:\\sys\\bin\\filebrowseapp.exe");
m_remoteExecutable = parameters.processArgs.join(_(" "));
// Start
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
Supports Markdown
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