forked from qt-creator/qt-creator
debugger: make it possible to bulk-assign breakpoints to threads
This commit is contained in:
@@ -2544,15 +2544,13 @@ void GdbEngine::attemptBreakpointSynchronization()
|
||||
data->bpEnabled = false;
|
||||
continue;
|
||||
}
|
||||
if (data->threadSpec != data->bpThreadSpec && !data->bpThreadSpec.isEmpty()) {
|
||||
if (data->threadSpec != data->bpThreadSpec && !data->bpNumber.isEmpty()) {
|
||||
// The only way to change this seems to be to re-set the bp completely.
|
||||
//qDebug() << "FIXME: THREAD: " << data->threadSpec << data->bpThreadSpec;
|
||||
//data->bpThreadSpec = data->threadSpec;
|
||||
if (!data->bpNumber.isEmpty()) {
|
||||
postCommand("-break-delete " + data->bpNumber,
|
||||
NeedsStop | RebuildBreakpointModel);
|
||||
sendInsertBreakpoint(index);
|
||||
}
|
||||
data->bpThreadSpec.clear();
|
||||
postCommand("-break-delete " + data->bpNumber,
|
||||
NeedsStop | RebuildBreakpointModel);
|
||||
sendInsertBreakpoint(index);
|
||||
continue;
|
||||
}
|
||||
if (data->bpAddress.startsWith("0x")
|
||||
|
||||
Reference in New Issue
Block a user