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 280631 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/mi/service/command/CLIEventProcessor.java (-2 / +2 lines)
Lines 111-118 Link Here
111
            	// Process Events of type DsfMIConsoleStreamOutput here
111
            	// Process Events of type DsfMIConsoleStreamOutput here
112
            	MIConsoleStreamOutput exec = (MIConsoleStreamOutput) oobr;
112
            	MIConsoleStreamOutput exec = (MIConsoleStreamOutput) oobr;
113
113
114
            	// Look for events with Pattern ^[New Thread 1077300144 (LWP 7973)
114
            	// Look for events with Pattern ^[New Thread ... ]
115
            	Pattern pattern = Pattern.compile("(^\\[New Thread.*LWP\\s*)(\\d*)", Pattern.MULTILINE); //$NON-NLS-1$
115
            	Pattern pattern = Pattern.compile("(^\\[New Thread.*\\])", Pattern.MULTILINE); //$NON-NLS-1$
116
            	Matcher matcher = pattern.matcher(exec.getCString());
116
            	Matcher matcher = pattern.matcher(exec.getCString());
117
            	if (matcher.find()) {
117
            	if (matcher.find()) {
118
            		String threadId = Integer.toString(++fLastThreadId);
118
            		String threadId = Integer.toString(++fLastThreadId);

Return to bug 280631