mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Remove check that became unnecessary when I moved the logic back into this class.
This commit is contained in:
parent
bec406f7dd
commit
1dd75f85e0
1 changed files with 53 additions and 59 deletions
|
@ -15,7 +15,6 @@ import java.io.IOException;
|
||||||
|
|
||||||
import org.eclipse.cdt.utils.spawner.Spawner;
|
import org.eclipse.cdt.utils.spawner.Spawner;
|
||||||
import org.eclipse.core.runtime.IProgressMonitor;
|
import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
import org.eclipse.core.runtime.Platform;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Doug Schaefer
|
* @author Doug Schaefer
|
||||||
|
@ -45,7 +44,6 @@ public class CygwinMIProcessAdapter extends MIProcessAdapter {
|
||||||
// Once we drop support for gdb 6.8, we should be able to ditch
|
// Once we drop support for gdb 6.8, we should be able to ditch
|
||||||
// this method and rely on the base implementation
|
// this method and rely on the base implementation
|
||||||
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=304096#c56
|
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=304096#c56
|
||||||
if (Platform.getOS().equals(Platform.OS_WIN32)) {
|
|
||||||
if (inferior.isRemoteInferior()) {
|
if (inferior.isRemoteInferior()) {
|
||||||
// Interrupt gdb with a 'kill -SIGINT'. The reason we
|
// Interrupt gdb with a 'kill -SIGINT'. The reason we
|
||||||
// need to send a simulated Cygwin/POSIX SIGINT to
|
// need to send a simulated Cygwin/POSIX SIGINT to
|
||||||
|
@ -102,10 +100,6 @@ public class CygwinMIProcessAdapter extends MIProcessAdapter {
|
||||||
// bugzilla comment referenced above for details.
|
// bugzilla comment referenced above for details.
|
||||||
gdbSpawner.interruptCTRLC();
|
gdbSpawner.interruptCTRLC();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else {
|
|
||||||
gdbSpawner.interrupt();
|
|
||||||
}
|
|
||||||
|
|
||||||
waitForInterrupt(inferior);
|
waitForInterrupt(inferior);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue