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:
hjk
2020-12-18 18:27:12 +01:00
parent a30aa4421a
commit d671983d81
2 changed files with 0 additions and 7 deletions

View File

@@ -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");

View File

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