Debugger: Move Python setup closer to debugger startup

It's unconditional nowadays, so we don't gain anything but code path
complexity from defering it.

Change-Id: Icc7d65835d1b2b76ecb64601822e0d70fd8f9f6e
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-01-28 11:27:13 +01:00
parent b852ee862d
commit a8e8c5fe1d
4 changed files with 21 additions and 42 deletions

View File

@@ -94,14 +94,11 @@ private: ////////// General State //////////
protected: ////////// Gdb Process Management //////////
void startGdb(const QStringList &args = QStringList());
void reportEngineSetupOk(const GdbResponse &response);
void handleCheckForPython(const GdbResponse &response);
void handleInferiorShutdown(const GdbResponse &response);
void handleGdbExit(const GdbResponse &response);
void handleNamespaceExtraction(const GdbResponse &response);
void loadInitScript();
void tryLoadPythonDumpers();
// Something went wrong with the adapter *before* adapterStarted() was emitted.
// Make sure to clean up everything before emitting this signal.
@@ -251,7 +248,6 @@ protected:
// Gdb initialization sequence
void handleShowVersion(const GdbResponse &response);
void handleListFeatures(const GdbResponse &response);
void handleHasPython(const GdbResponse &response);
void handlePythonSetup(const GdbResponse &response);
int m_gdbVersion; // 7.6.1 is 70601