1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

[273451] Makes the "connect to terminal" option be visible again for a CDI-GDB local launch, but not for attach or postmortem. This is the behavior we had before.

This commit is contained in:
Marc Khouzam 2009-04-23 17:34:02 +00:00
parent 2ecde82295
commit 1147914901
2 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,10 @@ import org.eclipse.debug.core.ILaunchConfiguration;
public class CMainAttachTab extends CMainTab {
public CMainAttachTab() {
super(false);
}
public boolean isValid(ILaunchConfiguration config) {
if (super.isValid(config) == false) {
String name = fProgText.getText().trim();

View file

@ -115,7 +115,7 @@ public class CMainTab extends CLaunchConfigurationTab {
public static final int DONT_CHECK_PROGRAM = 2;
public CMainTab() {
this(0);
this(WANTS_TERMINAL);
}
public CMainTab(boolean terminalOption) {