1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

Bug 399123 - [reverse] Uncall does not work with instruction stepping

Change-Id: I9d749dcda1d1cab8001e0dae6e4d12321cda42ae
Reviewed-on: https://git.eclipse.org/r/9933
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2013-01-25 14:37:01 -05:00
parent 0248aa4474
commit 3b431d7bcf

View file

@ -7,6 +7,7 @@
*
* Contributors:
* Ericsson - initial API and implementation
* Marc Khouzam (Ericsson) - Instruction-level step-return does not make sense (bug 399123)
*******************************************************************************/
package org.eclipse.cdt.dsf.gdb.internal.ui.commands;
@ -26,7 +27,6 @@ public class GdbUncallCommand extends GdbAbstractReverseStepCommand implements I
@Override
protected final StepType getStepType() {
boolean instructionSteppingEnabled = getSteppingMode() != null && getSteppingMode().isInstructionSteppingEnabled();
return instructionSteppingEnabled ? StepType.INSTRUCTION_STEP_RETURN : StepType.STEP_RETURN;
return StepType.STEP_RETURN;
}
}