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();
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue