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 227629
Collapse All | Expand All

(-)src/org/eclipse/dd/gdb/internal/provisional/service/command/GDBControl.java (-1 / +6 lines)
Lines 263-269 Link Here
263
    }
263
    }
264
    
264
    
265
    public String getPtyName() {
265
    public String getPtyName() {
266
    	return fPty.getSlaveName();
266
    	if ( fPty != null ) {
267
    		return fPty.getSlaveName();
268
    	}
269
    	else {
270
    		return null;
271
    	}
267
    }
272
    }
268
        
273
        
269
    @DsfServiceEventHandler 
274
    @DsfServiceEventHandler 
(-)src/org/eclipse/dd/gdb/internal/provisional/launching/FinalLaunchSequence.java (-1 / +7 lines)
Lines 76-84 Link Here
76
        		boolean useTerminal = fLaunch.getLaunchConfiguration().getAttribute(ICDTLaunchConfigurationConstants.ATTR_USE_TERMINAL, true);
76
        		boolean useTerminal = fLaunch.getLaunchConfiguration().getAttribute(ICDTLaunchConfigurationConstants.ATTR_USE_TERMINAL, true);
77
        		
77
        		
78
        		if (useTerminal) {
78
        		if (useTerminal) {
79
        			String pytName = fCommandControl.getPtyName();
80
        			if ( pytName != null ) {
79
            		fCommandControl.queueCommand(
81
            		fCommandControl.queueCommand(
80
         				new MIInferiorTTYSet(fCommandControl.getControlDMContext(), fCommandControl.getPtyName()), 
82
         				new MIInferiorTTYSet(fCommandControl.getControlDMContext(), pytName), 
81
     					new DataRequestMonitor<MIInfo>(getExecutor(), requestMonitor));
83
     					new DataRequestMonitor<MIInfo>(getExecutor(), requestMonitor));
84
        			}
85
        			else {
86
        				requestMonitor.done();
87
        			}
82
        		} else {
88
        		} else {
83
        			requestMonitor.done();
89
        			requestMonitor.done();
84
        		}
90
        		}

Return to bug 227629