mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +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:
parent
2ecde82295
commit
1147914901
2 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,10 @@ import org.eclipse.debug.core.ILaunchConfiguration;
|
||||||
|
|
||||||
public class CMainAttachTab extends CMainTab {
|
public class CMainAttachTab extends CMainTab {
|
||||||
|
|
||||||
|
public CMainAttachTab() {
|
||||||
|
super(false);
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isValid(ILaunchConfiguration config) {
|
public boolean isValid(ILaunchConfiguration config) {
|
||||||
if (super.isValid(config) == false) {
|
if (super.isValid(config) == false) {
|
||||||
String name = fProgText.getText().trim();
|
String name = fProgText.getText().trim();
|
||||||
|
|
|
@ -115,7 +115,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
public static final int DONT_CHECK_PROGRAM = 2;
|
public static final int DONT_CHECK_PROGRAM = 2;
|
||||||
|
|
||||||
public CMainTab() {
|
public CMainTab() {
|
||||||
this(0);
|
this(WANTS_TERMINAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
public CMainTab(boolean terminalOption) {
|
public CMainTab(boolean terminalOption) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue