mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Cleanup.
This commit is contained in:
parent
07c8819af2
commit
f7359eac05
3 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-11-26 Mikhail Khodjaiants
|
||||
Cleanup.
|
||||
* GDBServerDebuggerPage.java
|
||||
* ComboDialogField.java
|
||||
|
||||
2003-11-20 Mikhail Khodjaiants
|
||||
Removed dependencies on internal packages from other cdt plugins.
|
||||
* src/org/eclipse/cdt/debug/mi/internal/ui/PixelConverter.java: added
|
||||
|
|
|
@ -204,11 +204,11 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
|
|||
|
||||
attr = null;
|
||||
try {
|
||||
attr = configuration.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, (String) null);
|
||||
attr = configuration.getAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, (String) null);
|
||||
} catch (CoreException e) {
|
||||
}
|
||||
if (attr == null) {
|
||||
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb");
|
||||
configuration.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb");
|
||||
}
|
||||
|
||||
/* The booleans should already be correct. */
|
||||
|
@ -289,7 +289,7 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
|
|||
String asyncDevSpeed = "115200";
|
||||
boolean autosolib = false;
|
||||
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);
|
||||
} catch (CoreException e) {
|
||||
}
|
||||
|
@ -325,7 +325,7 @@ public class GDBServerDebuggerPage extends AbstractLaunchConfigurationTab {
|
|||
hostText.trim();
|
||||
hostPort.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(IGDBServerMILaunchConfigurationConstants.ATTR_REMOTE_TCP, fTCPButton.getSelection());
|
||||
configuration.setAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_HOST, hostText);
|
||||
|
|
|
@ -97,7 +97,8 @@ public class ComboDialogField extends DialogField {
|
|||
doSelectionChanged(e);
|
||||
}
|
||||
|
||||
public void widgetDefaultSelected(SelectionEvent e) { };
|
||||
public void widgetDefaultSelected(SelectionEvent e) {
|
||||
}
|
||||
};
|
||||
|
||||
fComboControl= new Combo(parent, fFlags);
|
||||
|
|
Loading…
Add table
Reference in a new issue