Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 341406
Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_2.java (+9 lines)
Lines 120-125 Link Here
120
		if (fBackend.getSessionType() == SessionType.REMOTE && !fBackend.getIsAttachSession()) {
120
		if (fBackend.getSessionType() == SessionType.REMOTE && !fBackend.getIsAttachSession()) {
121
			return false;
121
			return false;
122
		}
122
		}
123
		
124
		// Multi-process does not work for all-stop right now
125
		IMIRunControl runControl = getServicesTracker().getService(IMIRunControl.class);
126
		if (runControl != null && runControl.getRunMode() == MIRunMode.ALL_STOP) {
127
			// Only one process is allowed in all-stop (for now)
128
			return getNumConnected() == 0;
129
			// NOTE: when we support multi-process in all-stop mode,
130
			// we will need to interrupt the target to when doing the attach
131
		}
123
132
124
		return true;
133
		return true;
125
	}
134
	}

Return to bug 341406