mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +02:00
Bug 489683 - Fix typo while changing API
Change-Id: I1e5e5f92564c486e2f14da9a7f3a4e15598ba069
This commit is contained in:
parent
c0109d378d
commit
11c94f2755
1 changed files with 5 additions and 5 deletions
|
@ -348,7 +348,7 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
||||||
|
|
||||||
public IMIExecutionDMContext getThreadContext() { return fThreadContext; }
|
public IMIExecutionDMContext getThreadContext() { return fThreadContext; }
|
||||||
/** @since 5.0 */
|
/** @since 5.0 */
|
||||||
public String getBreakointId() { return fBpId; }
|
public String getBreakpointId() { return fBpId; }
|
||||||
public String getFileLocation() { return fFileLocation; }
|
public String getFileLocation() { return fFileLocation; }
|
||||||
public String getAddrLocation() { return fAddrLocation; }
|
public String getAddrLocation() { return fAddrLocation; }
|
||||||
public boolean shouldSkipBreakpoints() { return fSkipBreakpoints; }
|
public boolean shouldSkipBreakpoints() { return fSkipBreakpoints; }
|
||||||
|
@ -971,7 +971,7 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
||||||
public void handleFailure() {
|
public void handleFailure() {
|
||||||
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(),
|
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(),
|
||||||
IBreakpointsTargetDMContext.class);
|
IBreakpointsTargetDMContext.class);
|
||||||
String bpId = fRunToLineActiveOperation.getBreakointId();
|
String bpId = fRunToLineActiveOperation.getBreakpointId();
|
||||||
|
|
||||||
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] {bpId}),
|
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] {bpId}),
|
||||||
new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
||||||
|
@ -1879,7 +1879,7 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
||||||
// does a runToLine to a line that is non-executable AND has another breakpoint AND
|
// does a runToLine to a line that is non-executable AND has another breakpoint AND
|
||||||
// has multiple addresses for the breakpoint. I'm mean, come on!
|
// has multiple addresses for the breakpoint. I'm mean, come on!
|
||||||
if (fileLocation.equals(fRunToLineActiveOperation.getFileLocation()) || addrLocation.equals(fRunToLineActiveOperation.getAddrLocation())
|
if (fileLocation.equals(fRunToLineActiveOperation.getFileLocation()) || addrLocation.equals(fRunToLineActiveOperation.getAddrLocation())
|
||||||
|| bpId.equals(fRunToLineActiveOperation.getBreakointId())) {
|
|| bpId.equals(fRunToLineActiveOperation.getBreakpointId())) {
|
||||||
// We stopped at the right place. All is well.
|
// We stopped at the right place. All is well.
|
||||||
// Run to line completed
|
// Run to line completed
|
||||||
fRunToLineActiveOperation = null;
|
fRunToLineActiveOperation = null;
|
||||||
|
@ -1900,7 +1900,7 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
||||||
// be for another thread altogether and should not affect the current thread.
|
// be for another thread altogether and should not affect the current thread.
|
||||||
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(), IBreakpointsTargetDMContext.class);
|
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(), IBreakpointsTargetDMContext.class);
|
||||||
|
|
||||||
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] { fRunToLineActiveOperation.getBreakointId() }), new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] { fRunToLineActiveOperation.getBreakpointId() }), new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
||||||
fRunToLineActiveOperation = null;
|
fRunToLineActiveOperation = null;
|
||||||
fStepInToSelectionActiveOperation = null;
|
fStepInToSelectionActiveOperation = null;
|
||||||
}
|
}
|
||||||
|
@ -2006,7 +2006,7 @@ public class GDBRunControl_7_0_NS extends AbstractDsfService implements IMIRunCo
|
||||||
if (fRunToLineActiveOperation != null) {
|
if (fRunToLineActiveOperation != null) {
|
||||||
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(),
|
IBreakpointsTargetDMContext bpDmc = DMContexts.getAncestorOfType(fRunToLineActiveOperation.getThreadContext(),
|
||||||
IBreakpointsTargetDMContext.class);
|
IBreakpointsTargetDMContext.class);
|
||||||
String bpId = fRunToLineActiveOperation.getBreakointId();
|
String bpId = fRunToLineActiveOperation.getBreakpointId();
|
||||||
|
|
||||||
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] {bpId}),
|
fConnection.queueCommand(fCommandFactory.createMIBreakDelete(bpDmc, new String[] {bpId}),
|
||||||
new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
new DataRequestMonitor<MIInfo>(getExecutor(), null));
|
||||||
|
|
Loading…
Add table
Reference in a new issue