Changes corresponding to BreakpointsMediator change.
--- a/cdt/cdt_6_0_x/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/breakpoints/PDALineBreakpoint.java Wed Nov 11 16:33:19 2009 -0600
+++ b/cdt/cdt_6_0_x/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/breakpoints/PDALineBreakpoint.java Wed Nov 11 16:36:23 2009 -0600
@@ -31,6 +31,8 @@
*/
public class PDALineBreakpoint extends LineBreakpoint {
+ public static final String INSTALLED = "INSTALLED";
+
/**
* Default constructor is required for the breakpoint manager
* to re-create persisted breakpoints. After instantiating a breakpoint,
@@ -79,5 +81,13 @@
public boolean isRunToLineBreakpoint() {
return false;
}
+
+ public void setInstalled(boolean installed) throws CoreException {
+ setAttribute(INSTALLED, installed);
+ }
+
+ public boolean getInstalled() throws CoreException {
+ return ensureMarker().getAttribute(INSTALLED, false);
+ }
}
--- a/cdt/cdt_6_0_x/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/launch/PDAServicesInitSequence.java Wed Nov 11 16:33:19 2009 -0600
+++ b/cdt/cdt_6_0_x/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/launch/PDAServicesInitSequence.java Wed Nov 11 16:36:23 2009 -0600
@@ -75,7 +75,7 @@
// Create the breakpoint mediator and start tracking PDA breakpoints.
final BreakpointsMediator bpmService = new BreakpointsMediator(
- fSession, new PDABreakpointAttributeTranslator());
+ fSession, new PDABreakpointAttributeTranslator(fCommandControl.getContext()));
bpmService.initialize(new RequestMonitor(getExecutor(), requestMonitor) {
@Override
protected void handleSuccess() {