Debugger: Record breakpoint hit count

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

Change-Id: I7226747ba7d41e9600cb66e95e7c59c6a226151b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-02-21 11:45:28 +01:00
parent 431dd18bc5
commit 9c211ab424

View File

@@ -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();