diff options
author | hjk <qtc-committer@nokia.com> | 2012-06-05 19:55:32 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-06-06 09:41:08 +0200 |
commit | 2d466528c95599004f8025be8936c35453cbcbd8 (patch) | |
tree | 004a12029baa8da8afdb0e079e839f3d4c350b5b /src/plugins/debugger/gdb/codagdbadapter.cpp | |
parent | 291e23d0e1cefcdc5197f7333182f6fb87b52f38 (diff) | |
download | qt-creator-2d466528c95599004f8025be8936c35453cbcbd8.tar.gz |
debugger: rework core adapter
The name of the binary is now read using the elfreader instead
of attaching gdb twice.
Change-Id: I7a75bc64278c4f43e7085d2e479b53173602c966
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/gdb/codagdbadapter.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/codagdbadapter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/gdb/codagdbadapter.cpp b/src/plugins/debugger/gdb/codagdbadapter.cpp index 8c07bdee7b..5c2e5674d2 100644 --- a/src/plugins/debugger/gdb/codagdbadapter.cpp +++ b/src/plugins/debugger/gdb/codagdbadapter.cpp @@ -403,7 +403,7 @@ void CodaGdbAdapter::codaDeviceError(const QString &errorString) { logMessage(errorString); if (state() == EngineSetupRequested) { - m_engine->handleAdapterStartFailed(errorString, QString()); + m_engine->handleAdapterStartFailed(errorString); } else { m_engine->handleAdapterCrashed(errorString); } @@ -1072,7 +1072,7 @@ void CodaGdbAdapter::startAdapter() const QString msg = QString::fromLatin1("Could not open serial device '%1': %2") .arg(parameters.remoteChannel, reason); logMessage(msg, LogError); - m_engine->handleAdapterStartFailed(msg, QString()); + m_engine->handleAdapterStartFailed(msg); return; } setupDeviceSignals(); @@ -1104,7 +1104,7 @@ void CodaGdbAdapter::startAdapter() QString msg = QString::fromLatin1("Unable to start the gdb server at %1: %2.") .arg(m_gdbServerName).arg(m_gdbServer->errorString()); logMessage(msg, LogError); - m_engine->handleAdapterStartFailed(msg, QString()); + m_engine->handleAdapterStartFailed(msg); return; } |