debugger: merge gdb engine and symbian engine.

The trk parts are an 'adapter' in the gdb engine.
This commit is contained in:
hjk
2009-09-23 09:54:21 +02:00
parent e8be2acdb8
commit 89861828ee
7 changed files with 180 additions and 104 deletions

View File

@@ -240,7 +240,7 @@ void TrkGdbAdapter::startInferiorEarly()
if (!m_trkDevice.open(device, &errorMessage)) {
logMessage(QString::fromLatin1("Waiting on %1 (%2)").arg(device, errorMessage));
// Do not loop forever
if (m_waitCount++ < (m_options->mode == TrkOptions::BlueTooth ? 60 : 5)) {
if (m_waitCount++ < (m_options->mode == TrkOptions::BlueTooth ? 3 : 5)) {
QTimer::singleShot(1000, this, SLOT(startInferiorEarly()));
} else {
QString msg = QString::fromLatin1("Failed to connect to %1 after "