Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseDebuggingPropertyTester.java8
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseToggleCommand.java12
2 files changed, 10 insertions, 10 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseDebuggingPropertyTester.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseDebuggingPropertyTester.java
index a8eabb898..fcda598c1 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseDebuggingPropertyTester.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseDebuggingPropertyTester.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2011 Wind River Systems, Inc. and others.
+ * Copyright (c) 2010, 2012 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -28,13 +28,13 @@ public class TCFReverseDebuggingPropertyTester extends PropertyTester {
public boolean test(Object context, String property, Object[] args, Object expectedValue) {
if (!ENABLED.equals(property)) return false;
-
+
if (context instanceof TCFNode) {
- final TCFNode node = (TCFNode)context;
+ final TCFNode node = (TCFNode)context;
try {
return new TCFTask<Boolean>() {
public void run() {
- done(node.getModel().isInstructionSteppingEnabled());
+ done(node.getModel().isReverseDebugEnabled());
};
}.get();
}
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseToggleCommand.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseToggleCommand.java
index cd1620bb0..0c937280d 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseToggleCommand.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/commands/TCFReverseToggleCommand.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2011 Wind River Systems, Inc. and others.
+ * Copyright (c) 2010, 2012 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -32,11 +32,11 @@ public class TCFReverseToggleCommand implements IReverseToggleHandler {
public boolean execute(final IDebugCommandRequest request) {
if (request.getElements().length != 0 && request.getElements()[0] instanceof TCFNode) {
- final TCFNode node = (TCFNode)request.getElements()[0];
+ final TCFNode node = (TCFNode)request.getElements()[0];
Protocol.invokeLater(new Runnable() {
public void run() {
- boolean enabled = node.getModel().isInstructionSteppingEnabled();
- node.getModel().setInstructionSteppingEnabled(!enabled);
+ boolean enabled = node.getModel().isReverseDebugEnabled();
+ node.getModel().setReverseDebugEnabled(!enabled);
request.done();
};
});
@@ -52,11 +52,11 @@ public class TCFReverseToggleCommand implements IReverseToggleHandler {
public boolean isReverseToggled(Object context) {
if (context instanceof TCFNode) {
- final TCFNode node = (TCFNode)context;
+ final TCFNode node = (TCFNode)context;
try {
return new TCFTask<Boolean>() {
public void run() {
- done(node.getModel().isInstructionSteppingEnabled());
+ done(node.getModel().isReverseDebugEnabled());
};
}.get();
}

Back to the top