Debugger: Breakpoint turn into watchpoints while Trk-Debugging.

Check for "breakpoint", "hw breakpoint" types.
Acked-by: hjk
This commit is contained in:
Friedemann Kleint
2010-06-24 09:15:28 +02:00
parent f3aff69951
commit 146a6df7c0

View File

@@ -2095,7 +2095,7 @@ void GdbEngine::setBreakpointDataFromOutput(BreakpointData *data, const GdbMi &b
} else if (child.hasName("thread")) {
data->bpThreadSpec = child.data();
} else if (child.hasName("type")) {
if (child.data() == "breakpoint")
if (child.data().contains("reakpoint")) // "breakpoint", "hw breakpoint"
data->type = BreakpointData::BreakpointType;
else // FIXME: Incomplete list of cases.
data->type = BreakpointData::WatchpointType;