Commit 9c211ab4 authored by hjk's avatar hjk

Debugger: Record breakpoint hit count

Looks like the field was spelt 'times', not 'hitcount'.

Change-Id: I7226747ba7d41e9600cb66e95e7c59c6a226151b
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 431dd18b
......@@ -2375,7 +2375,7 @@ void GdbEngine::updateResponse(BreakpointResponse &response, const GdbMi &bkpt)
else if (catchType == "syscall")
response.type = BreakpointAtSysCall;
}
} else if (child.hasName("hitcount")) {
} else if (child.hasName("times")) {
response.hitCount = child.toInt();
} else if (child.hasName("original-location")) {
originalLocation = child.data();
......
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