1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Bug 350837: AbstractMIControl.startCommandProcessing() uses concrete GDBBackend class to create stderr thread

This commit is contained in:
Marc Khouzam 2011-08-03 10:16:09 -04:00
parent b9269f64eb
commit d99a4ace65

View file

@ -217,11 +217,15 @@ public abstract class AbstractMIControl extends AbstractDsfService
fRxThread = new RxThread(inStream);
GDBBackend backend = getServicesTracker().getService(GDBBackend.class);
fErrorThread = new ErrorThread(backend.getProcess().getErrorStream());
if (backend != null) {
fErrorThread = new ErrorThread(backend.getProcess().getErrorStream());
}
fTxThread.start();
fRxThread.start();
fErrorThread.start();
if (fErrorThread != null) {
fErrorThread.start();
}
}
/**