forked from qt-creator/qt-creator
Debugger: Simplify GdbEngine construction
Change-Id: I4af1cb7d7480b1db68693881254cbc89d985c33e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -72,7 +72,7 @@ class GdbEngine : public DebuggerEngine
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit GdbEngine(DebuggerStartMode startMode);
|
||||
GdbEngine();
|
||||
~GdbEngine() final;
|
||||
|
||||
private: ////////// General Interface //////////
|
||||
@@ -92,7 +92,6 @@ private: ////////// General Interface //////////
|
||||
|
||||
////////// General State //////////
|
||||
|
||||
const DebuggerStartMode m_startMode;
|
||||
bool m_registerNamesListed = false;
|
||||
|
||||
////////// Gdb Process Management //////////
|
||||
@@ -462,6 +461,7 @@ private: ////////// General Interface //////////
|
||||
Utils::QtcProcess m_gdbProc;
|
||||
OutputCollector m_outputCollector;
|
||||
QString m_errorString;
|
||||
DebuggerStartMode m_startMode = NoStartMode;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user