Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2003-12-17 22:16:41 +0000
committerMikhail Khodjaiants2003-12-17 22:16:41 +0000
commit2450aa42dad97d68eaf65dfff80eddec3ed245a5 (patch)
tree058b0376d9a47127a1fcb507968e780e73c57ab8 /debug/org.eclipse.cdt.debug.mi.ui/src/org
parent67ad10a37b9e9bcba5e44cca4c44ea7e9b93e900 (diff)
downloadorg.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.java10
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()

Back to the top