1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 14:15:50 +02:00

Bug fix was always disable for Windows

This commit is contained in:
Alain Magloire 2003-04-24 15:19:49 +00:00
parent 6925845c3f
commit 423c7a7e50

View file

@ -122,23 +122,25 @@ public class Configuration implements ICDIConfiguration {
}
Process gdb = miSession.getGDBProcess();
if (gdb instanceof Spawner) {
// If we attached sending a control-c, seems to work.
// If we attached sending a control-c,
// seems to alays work.
if (fAttached) {
return true;
}
// If we have a pty, sending a control-c will work
// except for solaris.
MIInferior inferior = miSession.getMIInferior();
if (inferior.getPTY() != null) {
// FIXME: bug in Solaris gdb when using -tty, sending a control-c
// does not work.
if (os.equals("SunOS")) {
if (os.equals("SunOS")) {
MIInferior inferior = miSession.getMIInferior();
if (inferior.getPTY() != null) {
// FIXME: bug in Solaris gdb when using -tty, sending a control-c
// does not work.
return false;
} else {
return true;
}
}
return true;
}
return false;
}