forked from qt-creator/qt-creator
Debugger: Fix display of multiple locations with LLDB
Change-Id: Ia08da65a892f84b5965c78f48e4b4cb735569dfc Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -429,9 +429,9 @@ void LldbEngine::updateBreakpointData(const GdbMi &bkpt, bool added)
|
||||
const int numChild = locations.children().size();
|
||||
if (numChild > 1) {
|
||||
foreach (const GdbMi &location, locations.children()) {
|
||||
const int locid = location["locid"].data().toUShort();
|
||||
BreakpointResponse sub;
|
||||
sub.id = BreakpointResponseId(rid.majorPart(),
|
||||
location["subid"].data().toUShort());
|
||||
sub.id = BreakpointResponseId(rid.majorPart(), locid);
|
||||
sub.type = response.type;
|
||||
sub.address = location["addr"].toAddress();
|
||||
sub.functionName = QString::fromUtf8(location["func"].data());
|
||||
|
||||
Reference in New Issue
Block a user