Commit 8906b4a4 authored by hjk's avatar hjk

Debugger: Make thread switching work in LLDB interface

Change-Id: I332e78c352066ddd05e96199fd8ead088e3e9f58
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 49d48760
......@@ -1167,7 +1167,7 @@ class Dumper:
#module = self.target.FindModule(file)
for i in xrange(self.target.GetNumModules()):
module = self.target.GetModuleAtIndex(i)
if module.file.GetFullPath() == moduleName:
if module.file.fullpath == moduleName:
break
result = 'symbols={module="%s"' % moduleName
result += ',valid="%s"' % module.IsValid()
......@@ -1227,8 +1227,9 @@ class Dumper:
self.currentThread().SetSelectedFrame(args['index'])
self.reportData()
def selectThread(self, thread):
self.handleCommand("thread select " + thread)
def selectThread(self, args):
self.process.SetSelectedThreadByID(args['id'])
self.reportData()
def requestModuleSymbols(self, frame):
self.handleCommand("target module list " + frame)
......
......@@ -821,7 +821,7 @@ void LldbEngine::readLldbStandardError()
qDebug() << "\nLLDB STDERR" << err;
//qWarning() << "Unexpected lldb stderr:" << err;
showMessage(_("Lldb stderr: " + err));
//handleOutput(err);
m_lldbProc.kill();
}
void LldbEngine::readLldbStandardOutput()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment