Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2006-03-23 20:39:45 +0000
committerMikhail Khodjaiants2006-03-23 20:39:45 +0000
commit6f5a1ad81c17a134350affa767ef4d48e07affb3 (patch)
treeac617151ff91ed07edc6de623d57cd0f8d6c61fd /debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse
parent7cb4ec78b5ab594c3a4e4564a605195f2d883f53 (diff)
downloadorg.eclipse.cdt-6f5a1ad81c17a134350affa767ef4d48e07affb3.tar.gz
org.eclipse.cdt-6f5a1ad81c17a134350affa767ef4d48e07affb3.tar.xz
org.eclipse.cdt-6f5a1ad81c17a134350affa767ef4d48e07affb3.zip
Added default attribute value for ATTR_DEBUG_NAME.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/StandardGDBDebuggerPage.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/StandardGDBDebuggerPage.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/StandardGDBDebuggerPage.java
index ac089f2a4e3..f914b317cbe 100644
--- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/StandardGDBDebuggerPage.java
+++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/StandardGDBDebuggerPage.java
@@ -78,7 +78,7 @@ public class StandardGDBDebuggerPage extends AbstractCDebuggerPage implements Ob
}
public void setDefaults( ILaunchConfigurationWorkingCopy configuration ) {
- configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb" ); //$NON-NLS-1$
+ configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, IMILaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT );
configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_GDB_INIT, IMILaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT );
configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_COMMAND_FACTORY, MIPlugin.getDefault().getCommandFactoryManager().getDefaultDescriptor( getDebuggerIdentifier() ).getIdentifier() );
if ( fSolibBlock != null )
@@ -100,10 +100,10 @@ public class StandardGDBDebuggerPage extends AbstractCDebuggerPage implements Ob
public void initializeFrom( ILaunchConfiguration configuration ) {
setInitializing( true );
- String gdbCommand = "gdb"; //$NON-NLS-1$
+ String gdbCommand = IMILaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT;
String gdbInit = IMILaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT;
try {
- gdbCommand = configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb" ); //$NON-NLS-1$
+ gdbCommand = configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, IMILaunchConfigurationConstants.DEBUGGER_DEBUG_NAME_DEFAULT );
}
catch( CoreException e ) {
}

Back to the top