CDB: Fix missing session cleanup on inferior exit, new state model

Adapt to new state model, make sure session is always cleaned
when invoked from processExited event handler, remove calls
to DebuggerManager::notifyXX().
This commit is contained in:
Friedemann Kleint
2009-09-30 11:44:04 +02:00
parent e4a3ad2108
commit b8df455b82
3 changed files with 160 additions and 89 deletions

View File

@@ -114,6 +114,7 @@ private slots:
void warning(const QString &w);
private:
void setState(DebuggerState state, const char *func, int line);
bool startAttachDebugger(qint64 pid, DebuggerStartMode sm, QString *errorMessage);
bool startDebuggerWithExecutable(DebuggerStartMode sm, QString *errorMessage);
void startWatchTimer();