diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/CLIProcessor.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/CLIProcessor.java index 27e8b713cd6..9a409ee8d0f 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/CLIProcessor.java +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/CLIProcessor.java @@ -125,7 +125,7 @@ public class CLIProcessor { static int getSteppingOperationKind(String operation) { int type = -1; - /* execution commands: n, next, s, step, si, stepi, u, until, finish, + /* execution commands: n, next, s, step, si, stepi, u, until, finish, return, c, continue, fg */ if (operation.equals("n") || operation.equals("next")) { //$NON-NLS-1$ //$NON-NLS-2$ type = MIRunningEvent.NEXT; @@ -140,6 +140,8 @@ public class CLIProcessor { type = MIRunningEvent.UNTIL; } else if (operation.startsWith("fin") && "finish".indexOf(operation) != -1) { //$NON-NLS-1$ //$NON-NLS-2$ type = MIRunningEvent.FINISH; + } else if (operation.startsWith("ret") && "return".indexOf(operation) != -1) { //$NON-NLS-1$ //$NON-NLS-2$ + type = MIRunningEvent.RETURN; } else if (operation.equals("c") || operation.equals("fg") || //$NON-NLS-1$ //$NON-NLS-2$ (operation.startsWith("cont") && "continue".indexOf(operation) != -1)) { //$NON-NLS-1$ //$NON-NLS-2$ type = MIRunningEvent.CONTINUE;