forked from qt-creator/qt-creator
fix shutdown paths
this includes: - move the gdb ownership back to the engine (thus strip down the adaptors as far as possible) - make gdb startup synchronous - make adapter shutdown synchronous - fix the state transitions relating to shutdown
This commit is contained in:
@@ -57,18 +57,12 @@ public:
|
||||
void startAdapter();
|
||||
void startInferior();
|
||||
void interruptInferior();
|
||||
void shutdown();
|
||||
|
||||
private:
|
||||
void handleTargetCore1(const GdbResponse &response);
|
||||
void handleDetach1(const GdbResponse &response);
|
||||
void handleFileExecAndSymbols(const GdbResponse &response);
|
||||
void handleTargetCore2(const GdbResponse &response);
|
||||
void handleExit(const GdbResponse &response);
|
||||
|
||||
Q_SLOT void handleGdbStarted();
|
||||
Q_SLOT void handleGdbError(QProcess::ProcessError error);
|
||||
Q_SLOT void handleGdbFinished(int, QProcess::ExitStatus);
|
||||
|
||||
QString m_executable;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user