Skip to content

Commit

Permalink
[#942] GDBControl discards ILaunchConfiguration in its constructor
Browse files Browse the repository at this point in the history
add protected final field to be available for successors
adding final accessor method may break Embedded CDT
  • Loading branch information
ruspl-afed committed Jan 4, 2025
1 parent 95a8c19 commit a5bf184
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dsf-gdb/org.eclipse.cdt.dsf.gdb/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true
Bundle-Version: 7.1.500.qualifier
Bundle-Version: 7.2.0.qualifier
Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
Original file line number Diff line number Diff line change
@@ -112,6 +112,11 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {

private static final int STATUS_CODE_COMMAND_TIMED_OUT = 20100;

/**
* @since 7.2
*/
protected final ILaunchConfiguration config;

/**
* Event indicating that the back end process has started.
*/
@@ -240,6 +245,7 @@ public GDBControl(DsfSession session, ILaunchConfiguration config, CommandFactor
protected GDBControl(DsfSession session, boolean useThreadAndFrameOptions, ILaunchConfiguration config,
CommandFactory factory) {
super(session, useThreadAndFrameOptions, factory);
this.config = config;
}

@Override

0 comments on commit a5bf184

Please sign in to comment.