From 2c6f81a72d07f94c53b421217daff7625afbcfc5 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Thu, 1 Jul 2010 10:21:10 +0000 Subject: [PATCH] Bug 318304: Allow for better overriding of the class. --- .../src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java index d62a66eb512..7a0e9f77923 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBBackend.java @@ -72,7 +72,7 @@ import org.osgi.framework.BundleContext; */ public class GDBBackend extends AbstractDsfService implements IGDBBackend { - private ILaunchConfiguration fLaunchConfiguration; + private final ILaunchConfiguration fLaunchConfiguration; /* * Parameters for launching GDB. @@ -168,7 +168,10 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend { } - private IPath getGDBPath() { + /** + * @since 3.1 + */ + protected IPath getGDBPath() { return LaunchUtils.getGDBPath(fLaunchConfiguration); }