forked from qt-creator/qt-creator
Debugger: Make DebuggerEngine::runCommand() virtual.
Allows default implementation of e.g. stack retrieval in the base class. Change-Id: I96460b19aa31347b2c863736b4ce2b5046eb4de6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -300,7 +300,7 @@ void PdbEngine::loadAllSymbols()
|
||||
|
||||
void PdbEngine::reloadModules()
|
||||
{
|
||||
runCommand("listModules");
|
||||
runCommand({"listModules"});
|
||||
}
|
||||
|
||||
void PdbEngine::refreshModules(const GdbMi &modules)
|
||||
@@ -557,7 +557,7 @@ void PdbEngine::refreshStack(const GdbMi &stack)
|
||||
|
||||
void PdbEngine::updateAll()
|
||||
{
|
||||
runCommand("stackListFrames");
|
||||
runCommand({"stackListFrames"});
|
||||
updateLocals();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user