forked from qt-creator/qt-creator
Debugger: Drop GdbEngine::listFeatures()
The output of -list-features is nowhere near complete or usable to determine the need of workarounds or such. We have never really relied on it and the code was unused for a while. Change-Id: Ide02f4d35d6075f534b756245ebe43c55ee69390 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1496,11 +1496,6 @@ void GdbEngine::handleShowVersion(const DebuggerResponse &response)
|
||||
}
|
||||
}
|
||||
|
||||
void GdbEngine::handleListFeatures(const DebuggerResponse &response)
|
||||
{
|
||||
showMessage("FEATURES: " + response.toString());
|
||||
}
|
||||
|
||||
void GdbEngine::handlePythonSetup(const DebuggerResponse &response)
|
||||
{
|
||||
CHECK_STATE(EngineSetupRequested);
|
||||
@@ -3612,7 +3607,6 @@ void GdbEngine::setupEngine()
|
||||
|
||||
showMessage("GDB STARTED, INITIALIZING IT");
|
||||
runCommand({"show version", CB(handleShowVersion)});
|
||||
//runCommand("-list-features", CB(handleListFeatures));
|
||||
runCommand({"show debug-file-directory", CB(handleDebugInfoLocation)});
|
||||
|
||||
//runCommand("-enable-timings");
|
||||
|
@@ -175,7 +175,6 @@ private: ////////// General Interface //////////
|
||||
|
||||
// Gdb initialization sequence
|
||||
void handleShowVersion(const DebuggerResponse &response);
|
||||
void handleListFeatures(const DebuggerResponse &response);
|
||||
void handlePythonSetup(const DebuggerResponse &response);
|
||||
|
||||
int m_gdbVersion = 100; // 7.6.1 is 70601
|
||||
|
Reference in New Issue
Block a user