1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +02:00
This commit is contained in:
Mikhail Khodjaiants 2003-11-26 16:25:17 +00:00
parent 07c8819af2
commit f7359eac05
3 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2003-11-26 Mikhail Khodjaiants
Cleanup.
* GDBServerDebuggerPage.java
* ComboDialogField.java
2003-11-20 Mikhail Khodjaiants 2003-11-20 Mikhail Khodjaiants
Removed dependencies on internal packages from other cdt plugins. Removed dependencies on internal packages from other cdt plugins.
* src/org/eclipse/cdt/debug/mi/internal/ui/PixelConverter.java: added * src/org/eclipse/cdt/debug/mi/internal/ui/PixelConverter.java: added

View file

@ -204,11 +204,11 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
attr = null; attr = null;
try { try {
attr = configuration.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, (String) null); attr = configuration.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, (String) null);
} catch (CoreException e) { } catch (CoreException e) {
} }
if (attr == null) { if (attr == null) {
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb"); configuration.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb");
} }
/* The booleans should already be correct. */ /* The booleans should already be correct. */
@ -289,7 +289,7 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
String asyncDevSpeed = "115200"; String asyncDevSpeed = "115200";
boolean autosolib = false; boolean autosolib = false;
try { try {
debuggerCommand = configuration.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb"); debuggerCommand = configuration.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb");
autosolib = configuration.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, false); autosolib = configuration.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, false);
} catch (CoreException e) { } catch (CoreException e) {
} }
@ -325,7 +325,7 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
hostText.trim(); hostText.trim();
hostPort.trim(); hostPort.trim();
asyncDev.trim(); asyncDev.trim();
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, debuggerCommand); configuration.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, debuggerCommand);
configuration.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, fAutoSoLibButton.getSelection()); configuration.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUGGER_AUTO_SOLIB, fAutoSoLibButton.getSelection());
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_REMOTE_TCP, fTCPButton.getSelection()); configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_REMOTE_TCP, fTCPButton.getSelection());
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_HOST, hostText); configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_HOST, hostText);

View file

@ -97,7 +97,8 @@ public class ComboDialogField extends DialogField {
doSelectionChanged(e); doSelectionChanged(e);
} }
public void widgetDefaultSelected(SelectionEvent e) { }; public void widgetDefaultSelected(SelectionEvent e) {
}
}; };
fComboControl= new Combo(parent, fFlags); fComboControl= new Combo(parent, fFlags);