Debugger: Remove use of Python 'cmd' module for LLDB interface

Not really needed extra level of indirection.

Change-Id: I4556cc67ec177d08943bb206b385b285f745b5cd
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-05-07 12:34:10 +02:00
parent fa2ac44271
commit 1fc2c5a2bd
2 changed files with 43 additions and 98 deletions

View File

@@ -185,49 +185,49 @@ void LldbEngine::runEngine2()
void LldbEngine::interruptInferior()
{
showStatusMessage(tr("Interrupt requested..."), 5000);
runCommand("interrupt");
runCommand("interruptInferior");
}
void LldbEngine::executeStep()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("step");
runCommand("executeStep");
}
void LldbEngine::executeStepI()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("stepi");
runCommand("executeStepI");
}
void LldbEngine::executeStepOut()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("finish");
runCommand("executeStepOut");
}
void LldbEngine::executeNext()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("next");
runCommand("executeNext");
}
void LldbEngine::executeNextI()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("nexti");
runCommand("executeNextI");
}
void LldbEngine::continueInferior()
{
resetLocation();
notifyInferiorRunRequested();
runCommand("continue");
runCommand("continueInferior");
}
void LldbEngine::handleResponse(const QByteArray &response)
@@ -810,7 +810,7 @@ QByteArray LldbEngine::currentOptions() const
void LldbEngine::updateAll()
{
runCommand("createReport");
runCommand("reportData");
}
void LldbEngine::refreshLocals(const GdbMi &vars)
@@ -944,7 +944,7 @@ void LldbEngine::refreshLocation(const GdbMi &reportedLocation)
void LldbEngine::reloadRegisters()
{
runCommand("reloadRegisters");
runCommand("reportRegisters");
}
void LldbEngine::fetchDisassembler(DisassemblerAgent *agent)