Fixes: debugger: work on process logic

Conflicts:

	src/plugins/debugger/gdbengine.cpp
This commit is contained in:
hjk
2009-02-17 17:42:08 +01:00
parent 25c7eb3dff
commit b4a7921832
4 changed files with 89 additions and 41 deletions

View File

@@ -158,12 +158,15 @@ private:
// queue". resultNeeded == true increments m_pendingResults on
// send and decrements on receipt, effectively preventing
// watch model updates before everything is finished.
void sendCommand(const QString & command,
enum StopNeeded { DoesNotNeedStop, NeedsStop };
enum Synchronization { NotSynchronized, Synchronized };
void sendCommand(const QString &command,
int type = 0, const QVariant &cookie = QVariant(),
bool needStop = false, bool synchronized = false);
StopNeeded needStop = DoesNotNeedStop,
Synchronization synchronized = NotSynchronized);
void sendSynchronizedCommand(const QString & command,
int type = 0, const QVariant &cookie = QVariant(),
bool needStop = false);
StopNeeded needStop = DoesNotNeedStop);
void setTokenBarrier();
@@ -335,6 +338,8 @@ private:
bool m_waitingForFirstBreakpointToBeHit;
bool m_modulesListOutdated;
QList<GdbCookie> m_commandsToRunOnTemporaryBreak;
DebuggerManager *q;
IDebuggerManagerAccessForEngines *qq;
};