diff options
author | Mikhail Khodjaiants | 2003-12-17 22:16:41 +0000 |
---|---|---|
committer | Mikhail Khodjaiants | 2003-12-17 22:16:41 +0000 |
commit | 2450aa42dad97d68eaf65dfff80eddec3ed245a5 (patch) | |
tree | 058b0376d9a47127a1fcb507968e780e73c57ab8 /debug/org.eclipse.cdt.debug.mi.ui/src/org | |
parent | 67ad10a37b9e9bcba5e44cca4c44ea7e9b93e900 (diff) | |
download | org.eclipse.cdt-2450aa42dad97d68eaf65dfff80eddec3ed245a5.tar.gz org.eclipse.cdt-2450aa42dad97d68eaf65dfff80eddec3ed245a5.tar.xz org.eclipse.cdt-2450aa42dad97d68eaf65dfff80eddec3ed245a5.zip |
Fix for bug 49061: Different values are used as default for the "Load shared library symbols automatically" option.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.ui/src/org')
-rw-r--r-- | debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBSolibBlock.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBSolibBlock.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBSolibBlock.java index e650c43ff72..904d3688394 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBSolibBlock.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBSolibBlock.java @@ -90,9 +90,9 @@ public class GDBSolibBlock extends Observable implements Observer try { if ( fAutoSoLibButton != null ) - fAutoSoLibButton.setSelection( configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, true ) ); + fAutoSoLibButton.setSelection( configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, IMILaunchConfigurationConstants.DEBUGGER_AUTO_SOLIB_DEFAULT ) ); if ( fStopOnSolibEventsButton != null ) - fStopOnSolibEventsButton.setSelection( configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_STOP_ON_SOLIB_EVENTS, false ) ); + fStopOnSolibEventsButton.setSelection( configuration.getAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_STOP_ON_SOLIB_EVENTS, IMILaunchConfigurationConstants.DEBUGGER_STOP_ON_SOLIB_EVENTS_DEFAULT ) ); initializeButtons( configuration ); updateButtons(); } @@ -124,8 +124,10 @@ public class GDBSolibBlock extends Observable implements Observer { if ( fSolibSearchPathBlock != null ) fSolibSearchPathBlock.setDefaults( configuration ); - configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, true ); - configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_STOP_ON_SOLIB_EVENTS, false ); + configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, + IMILaunchConfigurationConstants.DEBUGGER_AUTO_SOLIB_DEFAULT ); + configuration.setAttribute( IMILaunchConfigurationConstants.ATTR_DEBUGGER_STOP_ON_SOLIB_EVENTS, + IMILaunchConfigurationConstants.DEBUGGER_STOP_ON_SOLIB_EVENTS_DEFAULT ); } protected void updateButtons() |