mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 18:25:40 +02:00
Fix API as per the upcoming 9.1 release
Change-Id: I307f8f3239178415a66f0bed0b63e5b0d7ffe4cd
This commit is contained in:
parent
158bff7ed4
commit
2067bdec1a
17 changed files with 24 additions and 23 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.core; singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.core; singleton:=true
|
||||||
Bundle-Version: 6.1.0.qualifier
|
Bundle-Version: 6.2.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.core.CCorePlugin
|
Bundle-Activator: org.eclipse.cdt.core.CCorePlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -32,7 +32,7 @@ public interface IValue {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the value as a number, or {@code null} if it is not possible.
|
* Returns the value as a number, or {@code null} if it is not possible.
|
||||||
* @since 6.1
|
* @since 6.2
|
||||||
*/
|
*/
|
||||||
Number numberValue();
|
Number numberValue();
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ public interface IValue {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make a deep copy of this value.
|
* Make a deep copy of this value.
|
||||||
* @since 6.1
|
* @since 6.2
|
||||||
*/
|
*/
|
||||||
IValue clone();
|
IValue clone();
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPUnknownType;
|
||||||
*/
|
*/
|
||||||
public interface ICPPBase extends Cloneable {
|
public interface ICPPBase extends Cloneable {
|
||||||
public static final ICPPBase[] EMPTY_BASE_ARRAY = {};
|
public static final ICPPBase[] EMPTY_BASE_ARRAY = {};
|
||||||
/** @since 6.0 */
|
/** @since 6.2 */
|
||||||
public static final ICPPBase[] NO_BASES_BECAUSE_TYPE_IS_INCOMPLETE = {};
|
public static final ICPPBase[] NO_BASES_BECAUSE_TYPE_IS_INCOMPLETE = {};
|
||||||
|
|
||||||
public static final int v_private = ICPPASTBaseSpecifier.v_private;
|
public static final int v_private = ICPPASTBaseSpecifier.v_private;
|
||||||
|
|
|
@ -24,7 +24,7 @@ public interface ICPPField extends IField, ICPPMember, ICPPVariable {
|
||||||
* Returns the position of this field within its class owner's declared fields, or -1 if the position
|
* Returns the position of this field within its class owner's declared fields, or -1 if the position
|
||||||
* cannot be determined.
|
* cannot be determined.
|
||||||
*
|
*
|
||||||
* @since 6.1
|
* @since 6.2
|
||||||
*/
|
*/
|
||||||
int getFieldPosition();
|
int getFieldPosition();
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<version>6.1.0-SNAPSHOT</version>
|
<version>6.2.0-SNAPSHOT</version>
|
||||||
<artifactId>org.eclipse.cdt.core</artifactId>
|
<artifactId>org.eclipse.cdt.core</artifactId>
|
||||||
<packaging>eclipse-plugin</packaging>
|
<packaging>eclipse-plugin</packaging>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true
|
||||||
Bundle-Version: 5.1.0.qualifier
|
Bundle-Version: 5.2.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin
|
Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Require-Bundle: org.eclipse.core.runtime,
|
Require-Bundle: org.eclipse.core.runtime,
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<artifactId>org.eclipse.cdt.dsf.gdb</artifactId>
|
<artifactId>org.eclipse.cdt.dsf.gdb</artifactId>
|
||||||
<packaging>eclipse-plugin</packaging>
|
<packaging>eclipse-plugin</packaging>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -174,7 +174,7 @@ public interface IGdbDebugPreferenceConstants {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Boolean preference indicating if the GDB console should be shown using inverted colors. Default is <code>false</code>.
|
* Boolean preference indicating if the GDB console should be shown using inverted colors. Default is <code>false</code>.
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public static final String PREF_CONSOLE_INVERTED_COLORS = PREFIX + "consoleInvertedColors"; //$NON-NLS-1$
|
public static final String PREF_CONSOLE_INVERTED_COLORS = PREFIX + "consoleInvertedColors"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @since 5.1 */
|
/** @since 5.2 */
|
||||||
protected GdbLaunch getGDBLaunch() {
|
protected GdbLaunch getGDBLaunch() {
|
||||||
return (GdbLaunch) getSession().getModelAdapter(ILaunch.class);
|
return (GdbLaunch) getSession().getModelAdapter(ILaunch.class);
|
||||||
}
|
}
|
||||||
|
@ -195,7 +195,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
|
||||||
/**
|
/**
|
||||||
* Returns the GDB command and its arguments as an array.
|
* Returns the GDB command and its arguments as an array.
|
||||||
* Allow subclass to override.
|
* Allow subclass to override.
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
// This method replaces getGDBCommandLineArray() because we need
|
// This method replaces getGDBCommandLineArray() because we need
|
||||||
// to override it for GDB 7.12 even if an extender has overridden
|
// to override it for GDB 7.12 even if an extender has overridden
|
||||||
|
@ -275,7 +275,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
|
||||||
/**
|
/**
|
||||||
* Launch GDB process. Allow subclass to override.
|
* Launch GDB process. Allow subclass to override.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
// Again, we create a new method that we know has not been already
|
// Again, we create a new method that we know has not been already
|
||||||
// overridden. That way, even if extenders have overridden the
|
// overridden. That way, even if extenders have overridden the
|
||||||
|
|
|
@ -36,7 +36,7 @@ import org.eclipse.osgi.util.NLS;
|
||||||
* If we are unable to create a PTY, we then revert to the previous behavior of
|
* If we are unable to create a PTY, we then revert to the previous behavior of
|
||||||
* the base class.
|
* the base class.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public class GDBBackend_7_12 extends GDBBackend {
|
public class GDBBackend_7_12 extends GDBBackend {
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ public class GdbDebugServicesFactory extends AbstractDsfDebugServicesFactory {
|
||||||
public static final String GDB_7_7_VERSION = "7.7"; //$NON-NLS-1$
|
public static final String GDB_7_7_VERSION = "7.7"; //$NON-NLS-1$
|
||||||
/** @since 4.8 */
|
/** @since 4.8 */
|
||||||
public static final String GDB_7_10_VERSION = "7.10"; //$NON-NLS-1$
|
public static final String GDB_7_10_VERSION = "7.10"; //$NON-NLS-1$
|
||||||
/** @since 5.1 */
|
/** @since 5.2 */
|
||||||
public static final String GDB_7_12_VERSION = "7.12"; //$NON-NLS-1$
|
public static final String GDB_7_12_VERSION = "7.12"; //$NON-NLS-1$
|
||||||
|
|
||||||
private final String fVersion;
|
private final String fVersion;
|
||||||
|
|
|
@ -161,7 +161,7 @@ public interface IGDBBackend extends IMIBackend {
|
||||||
/**
|
/**
|
||||||
* @return True if the full GDB console should be used. False otherwise.
|
* @return True if the full GDB console should be used. False otherwise.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
default boolean isFullGdbConsoleSupported() {
|
default boolean isFullGdbConsoleSupported() {
|
||||||
return false;
|
return false;
|
||||||
|
@ -169,7 +169,7 @@ public interface IGDBBackend extends IMIBackend {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return The real GDB process that was started for the debug session
|
* @return The real GDB process that was started for the debug session
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
default Process getProcess() {
|
default Process getProcess() {
|
||||||
throw new RuntimeException();
|
throw new RuntimeException();
|
||||||
|
@ -178,7 +178,7 @@ public interface IGDBBackend extends IMIBackend {
|
||||||
/**
|
/**
|
||||||
* Returns the PTY used when starting the GDB process.
|
* Returns the PTY used when starting the GDB process.
|
||||||
* Can be null if no PTY was used.
|
* Can be null if no PTY was used.
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
default PTY getProcessPty() {
|
default PTY getProcessPty() {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.eclipse.cdt.dsf.mi.service.IMIBackend;
|
||||||
* of the {@link Process} abstract methods, but disables all I/O and
|
* of the {@link Process} abstract methods, but disables all I/O and
|
||||||
* local CLI handling.
|
* local CLI handling.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public class GDBBackendProcessWithoutIO extends GDBBackendCLIProcess implements IGDBBackendProcessWithoutIO {
|
public class GDBBackendProcessWithoutIO extends GDBBackendCLIProcess implements IGDBBackendProcessWithoutIO {
|
||||||
|
|
||||||
|
|
|
@ -370,7 +370,7 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @since 5.1 */
|
/** @since 5.2 */
|
||||||
@Override
|
@Override
|
||||||
public Process getGDBBackendProcess() {
|
public Process getGDBBackendProcess() {
|
||||||
return fBackendProcess;
|
return fBackendProcess;
|
||||||
|
@ -730,7 +730,7 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
|
||||||
return new ControlEventProcessor();
|
return new ControlEventProcessor();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @since 5.1 */
|
/** @since 5.2 */
|
||||||
protected Process createBackendProcess() throws IOException {
|
protected Process createBackendProcess() throws IOException {
|
||||||
if (fMIBackend.isFullGdbConsoleSupported()) {
|
if (fMIBackend.isFullGdbConsoleSupported()) {
|
||||||
// If the full GDB console is supported, which uses the GDB process itself,
|
// If the full GDB console is supported, which uses the GDB process itself,
|
||||||
|
|
|
@ -16,7 +16,7 @@ package org.eclipse.cdt.dsf.gdb.service.command;
|
||||||
* handled by the launch and the console it normally created, but is handled by
|
* handled by the launch and the console it normally created, but is handled by
|
||||||
* the full GDB console itself.
|
* the full GDB console itself.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public interface IGDBBackendProcessWithoutIO {
|
public interface IGDBBackendProcessWithoutIO {
|
||||||
}
|
}
|
|
@ -31,7 +31,7 @@ public interface IGDBControl extends IMICommandControl {
|
||||||
* To get the real GDB process use
|
* To get the real GDB process use
|
||||||
* {@link IGDBBackend#getProcess()}.
|
* {@link IGDBBackend#getProcess()}.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
default Process getGDBBackendProcess() {
|
default Process getGDBBackendProcess() {
|
||||||
return getCLIProcess();
|
return getCLIProcess();
|
||||||
|
|
|
@ -140,7 +140,8 @@ public abstract class AbstractCLIProcess extends Process
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 5.1
|
* Returns if this class should handle the IO streams of the CLI.
|
||||||
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
protected boolean handleIO() { return true; }
|
protected boolean handleIO() { return true; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue