diff --git a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunch.java b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunch.java index 5a56841eccf..7c65b5f3629 100644 --- a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunch.java +++ b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunch.java @@ -74,9 +74,7 @@ public class GdbLaunch extends Launch public DsfExecutor getDsfExecutor() { return fExecutor; } - @ConfinedToDsfExecutor("getExecutor") - public void initializeControl() - throws CoreException + public void initialize() { Runnable initRunnable = new DsfRunnable() { public void run() { @@ -96,7 +94,11 @@ public class GdbLaunch extends Launch } catch (ExecutionException e) { new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Error initializing launch", e); //$NON-NLS-1$ } + } + public void initializeControl() + throws CoreException + { // Create a memory retrieval and register it with the session try { fExecutor.submit( new Callable() { diff --git a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunchDelegate.java b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunchDelegate.java index f4637aebe70..678801afc66 100644 --- a/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunchDelegate.java +++ b/plugins/org.eclipse.dd.gdb/src/org/eclipse/dd/gdb/internal/provisional/launching/GdbLaunchDelegate.java @@ -199,6 +199,7 @@ public class GdbLaunchDelegate extends LaunchConfigurationDelegate // the source lookup adapter. GdbLaunch launch = new GdbLaunch(configuration, mode, null); + launch.initialize(); launch.setSourceLocator(getSourceLocator(configuration, launch.getSession())); return launch; }