mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 06:05:56 +02:00
Bug fix was always disable for Windows
This commit is contained in:
parent
6925845c3f
commit
423c7a7e50
1 changed files with 8 additions and 6 deletions
|
@ -122,23 +122,25 @@ public class Configuration implements ICDIConfiguration {
|
||||||
}
|
}
|
||||||
Process gdb = miSession.getGDBProcess();
|
Process gdb = miSession.getGDBProcess();
|
||||||
if (gdb instanceof Spawner) {
|
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) {
|
if (fAttached) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we have a pty, sending a control-c will work
|
// If we have a pty, sending a control-c will work
|
||||||
// except for solaris.
|
// except for solaris.
|
||||||
MIInferior inferior = miSession.getMIInferior();
|
if (os.equals("SunOS")) {
|
||||||
if (inferior.getPTY() != null) {
|
MIInferior inferior = miSession.getMIInferior();
|
||||||
// FIXME: bug in Solaris gdb when using -tty, sending a control-c
|
if (inferior.getPTY() != null) {
|
||||||
// does not work.
|
// FIXME: bug in Solaris gdb when using -tty, sending a control-c
|
||||||
if (os.equals("SunOS")) {
|
// does not work.
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue