Debugger: Make 'Jump to Address' work with LLDB

Change-Id: Iba288df0db85063146ed9dc09351844924e22bdc
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-02-06 15:40:23 +01:00
parent f10a81b6e5
commit 3e1ae6bf3a
2 changed files with 12 additions and 6 deletions

View File

@@ -378,8 +378,11 @@ void LldbEngine::executeJumpToLine(const ContextData &data)
{
resetLocation();
notifyInferiorRunRequested();
runCommand(Command("executeJumpToLine")
.arg("file", data.fileName).arg("line", data.lineNumber));
Command cmd("executeJumpToLocation");
cmd.arg("file", data.fileName);
cmd.arg("line", data.lineNumber);
cmd.arg("address", data.address);
runCommand(cmd);
}
void LldbEngine::activateFrame(int frameIndex)