mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Fix for bug 62659: Unable to set default for register format via plugin_customization.ini.
This commit is contained in:
parent
a2b23f55a3
commit
03272b1adb
5 changed files with 52 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-03 Mikhail Khodjaiants
|
||||||
|
Fix for bug 62659: Unable to set default for register format via plugin_customization.ini.
|
||||||
|
* CDebugCorePreferenceInitializer.java: new
|
||||||
|
* plugin.xml
|
||||||
|
|
||||||
2004-12-03 Mikhail Khodjaiants
|
2004-12-03 Mikhail Khodjaiants
|
||||||
Fix for bug 80106: Terminating during stepping state caused exception in CDT.
|
Fix for bug 80106: Terminating during stepping state caused exception in CDT.
|
||||||
* CThread.java
|
* CThread.java
|
||||||
|
|
|
@ -138,5 +138,9 @@
|
||||||
id="cWatchpoint">
|
id="cWatchpoint">
|
||||||
</breakpoint>
|
</breakpoint>
|
||||||
</extension>
|
</extension>
|
||||||
|
<extension
|
||||||
|
point="org.eclipse.core.runtime.preferences">
|
||||||
|
<initializer class="org.eclipse.cdt.debug.internal.core.CDebugCorePreferenceInitializer"/>
|
||||||
|
</extension>
|
||||||
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
/**********************************************************************
|
||||||
|
* Copyright (c) 2004 QNX Software Systems and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Common Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/cpl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
***********************************************************************/
|
||||||
|
package org.eclipse.cdt.debug.internal.core;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
||||||
|
import org.eclipse.cdt.debug.core.ICDebugConstants;
|
||||||
|
import org.eclipse.cdt.debug.core.cdi.ICDIFormat;
|
||||||
|
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default preference value initializer for <code>CDebugCorePlugin</code>.
|
||||||
|
*/
|
||||||
|
public class CDebugCorePreferenceInitializer extends AbstractPreferenceInitializer {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor for CDebugCorePreferenceInitializer.
|
||||||
|
*/
|
||||||
|
public CDebugCorePreferenceInitializer() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
|
||||||
|
*/
|
||||||
|
public void initializeDefaultPreferences() {
|
||||||
|
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_MAX_NUMBER_OF_INSTRUCTIONS, ICDebugConstants.DEF_NUMBER_OF_INSTRUCTIONS );
|
||||||
|
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_VARIABLE_FORMAT, ICDIFormat.NATURAL );
|
||||||
|
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_EXPRESSION_FORMAT, ICDIFormat.NATURAL );
|
||||||
|
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_REGISTER_FORMAT, ICDIFormat.NATURAL );
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-12-03 Mikhail Khodjaiants
|
||||||
|
Fix for bug 62659: Unable to set default for register format via plugin_customization.ini.
|
||||||
|
* CDebugPreferencePage.java
|
||||||
|
|
||||||
2004-12-02 Mikhail Khodjaiants
|
2004-12-02 Mikhail Khodjaiants
|
||||||
Fix for bug 80055: ArrayIndexOutOfBoundsException in DisassemblyView.
|
Fix for bug 80055: ArrayIndexOutOfBoundsException in DisassemblyView.
|
||||||
* DisassemblyEditorInput.java
|
* DisassemblyEditorInput.java
|
||||||
|
|
|
@ -181,10 +181,6 @@ public class CDebugPreferencePage extends PreferencePage implements IWorkbenchPr
|
||||||
store.setDefault( ICDebugPreferenceConstants.PREF_SHOW_HEX_VALUES, false );
|
store.setDefault( ICDebugPreferenceConstants.PREF_SHOW_HEX_VALUES, false );
|
||||||
store.setDefault( ICDebugPreferenceConstants.PREF_SHOW_FULL_PATHS, true );
|
store.setDefault( ICDebugPreferenceConstants.PREF_SHOW_FULL_PATHS, true );
|
||||||
PreferenceConverter.setDefault( store, IInternalCDebugUIConstants.DISASSEMBLY_SOURCE_LINE_COLOR, IInternalCDebugUIConstants.DEFAULT_DISASSEMBLY_SOURCE_LINE_RGB );
|
PreferenceConverter.setDefault( store, IInternalCDebugUIConstants.DISASSEMBLY_SOURCE_LINE_COLOR, IInternalCDebugUIConstants.DEFAULT_DISASSEMBLY_SOURCE_LINE_RGB );
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_MAX_NUMBER_OF_INSTRUCTIONS, ICDebugConstants.DEF_NUMBER_OF_INSTRUCTIONS );
|
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_VARIABLE_FORMAT, ICDIFormat.NATURAL );
|
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_EXPRESSION_FORMAT, ICDIFormat.NATURAL );
|
|
||||||
CDebugCorePlugin.getDefault().getPluginPreferences().setDefault( ICDebugConstants.PREF_DEFAULT_REGISTER_FORMAT, ICDIFormat.NATURAL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue