mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 329868 - Make TCP the default protocol when populating a remote launch tab.
This commit is contained in:
parent
c757ba1fcb
commit
78f40855d0
1 changed files with 3 additions and 3 deletions
|
@ -140,9 +140,9 @@ public class GdbServerDebuggerPage extends GdbDebuggerPage {
|
|||
public void initializeFrom(ILaunchConfiguration configuration) {
|
||||
setInitializing(true);
|
||||
super.initializeFrom(configuration);
|
||||
boolean isTcp = false;
|
||||
boolean isTcp = true;
|
||||
try {
|
||||
isTcp = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, false);
|
||||
isTcp = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, true);
|
||||
}
|
||||
catch(CoreException e) {
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ public class GdbServerDebuggerPage extends GdbDebuggerPage {
|
|||
@Override
|
||||
public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {
|
||||
super.setDefaults(configuration);
|
||||
configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, false);
|
||||
configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_REMOTE_TCP, true);
|
||||
fTCPBlock.setDefaults(configuration);
|
||||
fSerialBlock.setDefaults(configuration);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue