mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Signal is like continue.
This commit is contained in:
parent
7521694c21
commit
d83e7027dc
1 changed files with 3 additions and 2 deletions
|
@ -77,6 +77,8 @@ public class CLIProcessor {
|
||||||
} else if (operation.equals("c") || operation.equals("fg") ||
|
} else if (operation.equals("c") || operation.equals("fg") ||
|
||||||
(operation.startsWith("cont") && "continue".indexOf(operation) != -1)) {
|
(operation.startsWith("cont") && "continue".indexOf(operation) != -1)) {
|
||||||
type = MIRunningEvent.CONTINUE;
|
type = MIRunningEvent.CONTINUE;
|
||||||
|
} else if (operation.startsWith("sig") && "signal".indexOf(operation) != -1) {
|
||||||
|
type = MIRunningEvent.CONTINUE;
|
||||||
}
|
}
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
@ -132,8 +134,7 @@ public class CLIProcessor {
|
||||||
boolean isSettingSignal(String operation) {
|
boolean isSettingSignal(String operation) {
|
||||||
boolean isChange = false;
|
boolean isChange = false;
|
||||||
/* changing signal: handle, signal */
|
/* changing signal: handle, signal */
|
||||||
if ((operation.startsWith("ha") && "handle".indexOf(operation) != -1) ||
|
if (operation.startsWith("ha") && "handle".indexOf(operation) != -1) {
|
||||||
(operation.startsWith("sig") && "signal".indexOf(operation) != -1)) {
|
|
||||||
isChange = true;
|
isChange = true;
|
||||||
}
|
}
|
||||||
return isChange;
|
return isChange;
|
||||||
|
|
Loading…
Add table
Reference in a new issue