Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java
index d7b4bb1f368..e0b3d8303be 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java
@@ -1890,6 +1890,11 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
results.add("0"); //$NON-NLS-1$
return results;
}
+
+ if (threads.isEmpty()) {
+ results.add("0"); //$NON-NLS-1$
+ return results;
+ }
for (IExecutionDMContext[] targetThreads : threads) {
if (targetThreads != null) {

Back to the top