Trk: Load symbol file correctly on Windows

This commit is contained in:
Friedemann Kleint
2009-10-02 16:13:46 +02:00
parent 1fad39c923
commit 04d2bfa8f8

View File

@@ -1460,6 +1460,8 @@ void TrkGdbAdapter::startAdapter()
m_remoteExecutable = parameters.processArgs.at(1);
m_symbolFile = parameters.processArgs.at(2);
}
// Unixish gdbs accept only forward slashes
m_symbolFile.replace(QLatin1Char('\\'), QLatin1Char('/'));
// Start
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
setState(AdapterStarting);