mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Bug 362274: Use "Step" reason after 'step return' operation
This commit is contained in:
parent
ecfdcab4ab
commit
09874c7c09
3 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* QNX Software Systems - Initial API and implementation
|
||||
* Vadimir Prus (vladimir@codesourcery.com) - bug 156114: GDB options layout
|
||||
* Vladimir Prus (vladimir@codesourcery.com) - bug 156114: GDB options layout
|
||||
* problem
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.mi.internal.ui;
|
||||
|
|
|
@ -65,6 +65,7 @@ import org.eclipse.cdt.dsf.mi.service.command.events.MIBreakpointHitEvent;
|
|||
import org.eclipse.cdt.dsf.mi.service.command.events.MICatchpointHitEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIErrorEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIFunctionFinishedEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIInferiorExitEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIRunningEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MISharedLibEvent;
|
||||
|
@ -157,6 +158,8 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
|||
return StateChangeReason.BREAKPOINT;
|
||||
} else if (getMIEvent() instanceof MISteppingRangeEvent) {
|
||||
return StateChangeReason.STEP;
|
||||
} else if (getMIEvent() instanceof MIFunctionFinishedEvent) {
|
||||
return StateChangeReason.STEP;
|
||||
} else if (getMIEvent() instanceof MISharedLibEvent) {
|
||||
return StateChangeReason.SHAREDLIB;
|
||||
}else if (getMIEvent() instanceof MISignalEvent) {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Wind River Systems - initial API and implementation
|
||||
* Ericsson AB - Modified for handling of multiple threads
|
||||
* Vladimir Prus (Mentor Graphics) - Add proper stop reason for step return (Bug 362274)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.dsf.mi.service;
|
||||
|
||||
|
@ -51,6 +52,7 @@ import org.eclipse.cdt.dsf.mi.service.command.events.MIBreakpointHitEvent;
|
|||
import org.eclipse.cdt.dsf.mi.service.command.events.MICatchpointHitEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIErrorEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIFunctionFinishedEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MIRunningEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MISharedLibEvent;
|
||||
import org.eclipse.cdt.dsf.mi.service.command.events.MISignalEvent;
|
||||
|
@ -187,6 +189,8 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl, I
|
|||
return StateChangeReason.BREAKPOINT;
|
||||
} else if (getMIEvent() instanceof MISteppingRangeEvent) {
|
||||
return StateChangeReason.STEP;
|
||||
} else if (getMIEvent() instanceof MIFunctionFinishedEvent) {
|
||||
return StateChangeReason.STEP;
|
||||
} else if (getMIEvent() instanceof MISharedLibEvent) {
|
||||
return StateChangeReason.SHAREDLIB;
|
||||
}else if (getMIEvent() instanceof MISignalEvent) {
|
||||
|
|
Loading…
Add table
Reference in a new issue