diff options
author | hjk <qtc-committer@nokia.com> | 2010-08-30 07:52:41 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-08-30 10:38:38 +0200 |
commit | 56fd90e5cc8a61749048a4b5b8acaef3a8169a90 (patch) | |
tree | 096bf246c16c72f0929a06ab90f5a1eca1208fae /src | |
parent | 15da517b9b911791f99666fc10753da558f88bd3 (diff) | |
download | qt-creator-56fd90e5cc8a61749048a4b5b8acaef3a8169a90.tar.gz |
debugger: fix spelling of synchronous
Finally.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/debugger/debuggerengine.h | 2 | ||||
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 12 | ||||
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.h | 2 | ||||
-rw-r--r-- | src/plugins/debugger/pdb/pdbengine.h | 2 | ||||
-rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.cpp | 4 | ||||
-rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.h | 2 | ||||
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.h | 2 | ||||
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 6 |
8 files changed, 16 insertions, 16 deletions
diff --git a/src/plugins/debugger/debuggerengine.h b/src/plugins/debugger/debuggerengine.h index ab30b99fb2..a609d93624 100644 --- a/src/plugins/debugger/debuggerengine.h +++ b/src/plugins/debugger/debuggerengine.h @@ -165,7 +165,7 @@ public: virtual void addOptionPages(QList<Core::IOptionsPage*> *) const {} virtual unsigned debuggerCapabilities() const { return 0; } - virtual bool isSynchroneous() const { return false; } + virtual bool isSynchronous() const { return false; } virtual QString qtNamespace() const { return QString(); } virtual void createSnapshot() {} diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index a4ea3f156d..45a09f4743 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -995,7 +995,7 @@ void GdbEngine::handleResultRecord(GdbResponse *response) interruptInferiorTemporarily(); // Continue only if there are no commands wire anymore, so this will - // be fully synchroneous. + // be fully synchronous. // This is somewhat inefficient, as it makes the last command synchronous. // An optimization would be requesting the continue immediately when the // event loop is entered, and let individual commands have a flag to suppress @@ -1340,7 +1340,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data) || name != CROSS_STOP_SIGNAL)) initHelpers = false; } - if (isSynchroneous()) + if (isSynchronous()) initHelpers = false; if (initHelpers) { tryLoadDebuggingHelpersClassic(); @@ -3243,7 +3243,7 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos, } */ - if (isSynchroneous()) { + if (isSynchronous()) { updateLocals(QVariant()); return; } @@ -3295,7 +3295,7 @@ bool GdbEngine::hasDebuggingHelperForType(const QString &type) const void GdbEngine::updateWatchData(const WatchData &data) { - if (isSynchroneous()) { + if (isSynchronous()) { // This should only be called for fresh expanded items, not for // items that had their children retrieved earlier. //qDebug() << "\nUPDATE WATCH DATA: " << data.toString() << "\n"; @@ -3361,7 +3361,7 @@ void GdbEngine::rebuildWatchModel() { static int count = 0; ++count; - if (!isSynchroneous()) + if (!isSynchronous()) m_processedNames.clear(); PENDING_DEBUG("REBUILDING MODEL" << count); if (theDebuggerBoolSetting(LogTimeStamps)) @@ -3515,7 +3515,7 @@ WatchData GdbEngine::localVariable(const GdbMi &item, data.setError(WatchData::msgNotInScope()); return data; } - if (isSynchroneous()) { + if (isSynchronous()) { setWatchDataValue(data, item); // We know that the complete list of children is // somewhere in the response. diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h index db257fcf78..ce04dadb44 100644 --- a/src/plugins/debugger/gdb/gdbengine.h +++ b/src/plugins/debugger/gdb/gdbengine.h @@ -290,7 +290,7 @@ private: ////////// Gdb Output, State & Capability Handling ////////// StackFrame parseStackFrame(const GdbMi &mi, int level); void resetCommandQueue(); - bool isSynchroneous() const { return hasPython(); } + bool isSynchronous() const { return hasPython(); } virtual bool hasPython() const; bool supportsThreads() const; diff --git a/src/plugins/debugger/pdb/pdbengine.h b/src/plugins/debugger/pdb/pdbengine.h index e113afb439..bd5afb88cb 100644 --- a/src/plugins/debugger/pdb/pdbengine.h +++ b/src/plugins/debugger/pdb/pdbengine.h @@ -102,7 +102,7 @@ private: void reloadFullStack() {} bool supportsThreads() const { return true; } - bool isSynchroneous() const { return true; } + bool isSynchronous() const { return true; } void updateWatchData(const WatchData &data); signals: diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 826141799c..ae368f2e01 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -175,9 +175,9 @@ unsigned QmlCppEngine::debuggerCapabilities() const return m_cppEngine->debuggerCapabilities(); } -bool QmlCppEngine::isSynchroneous() const +bool QmlCppEngine::isSynchronous() const { - return m_activeEngine->isSynchroneous(); + return m_activeEngine->isSynchronous(); } QString QmlCppEngine::qtNamespace() const diff --git a/src/plugins/debugger/qml/qmlcppengine.h b/src/plugins/debugger/qml/qmlcppengine.h index 1c1a8d0b38..0fcdd3cce0 100644 --- a/src/plugins/debugger/qml/qmlcppengine.h +++ b/src/plugins/debugger/qml/qmlcppengine.h @@ -45,7 +45,7 @@ public: virtual void setRegisterValue(int regnr, const QString &value); virtual unsigned debuggerCapabilities() const; - virtual bool isSynchroneous() const; + virtual bool isSynchronous() const; virtual QString qtNamespace() const; virtual void createSnapshot(); diff --git a/src/plugins/debugger/qml/qmlengine.h b/src/plugins/debugger/qml/qmlengine.h index fee77d95e5..9c02c2c4cb 100644 --- a/src/plugins/debugger/qml/qmlengine.h +++ b/src/plugins/debugger/qml/qmlengine.h @@ -74,7 +74,7 @@ public slots: private: // DebuggerEngine implementation - bool isSynchroneous() const { return false; } + bool isSynchronous() const { return false; } void executeStep(); void executeStepOut(); void executeNext(); diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 1890aeba26..6ed126889d 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1182,13 +1182,13 @@ void WatchHandler::insertData(const WatchData &data) if (data.isSomethingNeeded() && data.iname.contains('.')) { MODEL_DEBUG("SOMETHING NEEDED: " << data.toString()); - if (!m_engine->isSynchroneous()) { + if (!m_engine->isSynchronous()) { m_engine->updateWatchData(data); } else { qDebug() << "ENDLESS LOOP: SOMETHING NEEDED: " << data.toString(); WatchData data1 = data; data1.setAllUnneeded(); - data1.setValue(QLatin1String("<unavailable synchroneous data>")); + data1.setValue(QLatin1String("<unavailable synchronous data>")); data1.setHasChildren(false); WatchModel *model = modelForIName(data.iname); QTC_ASSERT(model, return); @@ -1267,7 +1267,7 @@ void WatchHandler::watchExpression(const QString &exp) if (exp.isEmpty()) data.setAllUnneeded(); data.iname = watcherName(data.exp); - if (m_engine->isSynchroneous() && !m_engine->isSessionEngine()) + if (m_engine->isSynchronous() && !m_engine->isSessionEngine()) m_engine->updateWatchData(data); else insertData(data); |