Commit 146a6df7 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Breakpoint turn into watchpoints while Trk-Debugging.

Check for "breakpoint", "hw breakpoint" types.
Acked-by: hjk
parent f3aff699
......@@ -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;
......
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