Debugger: Simplify GdbEngine construction

Change-Id: I4af1cb7d7480b1db68693881254cbc89d985c33e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-09-26 15:22:14 +02:00
parent b11f304ffb
commit 0c8283234a
3 changed files with 9 additions and 8 deletions

View File

@@ -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