diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CFloatingPointValue.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CFloatingPointValue.java new file mode 100644 index 00000000000..d6ce47d4ace --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CFloatingPointValue.java @@ -0,0 +1,44 @@ +/********************************************************************** + * Copyright (c) 2004 QNX Software Systems and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + ***********************************************************************/ +package org.eclipse.cdt.debug.internal.core.model; + +import org.eclipse.cdt.debug.core.cdi.CDIException; +import org.eclipse.cdt.debug.core.cdi.model.ICDIValue; +import org.eclipse.cdt.debug.core.cdi.model.type.ICDIDoubleValue; +import org.eclipse.cdt.debug.core.cdi.model.type.ICDIFloatValue; + +/** + * Represents a value of a float or double variable type. + */ +public class CFloatingPointValue extends CValue { + + private Number fFloatingPointValue; + + /** + * Constructor for CFloatingPointValue. + */ + public CFloatingPointValue( CVariable parent, ICDIValue cdiValue ) { + super( parent, cdiValue ); + } + + public Number getFloatingPointValue() throws CDIException { + if ( fFloatingPointValue == null ) { + ICDIValue cdiValue = getUnderlyingValue(); + if ( cdiValue instanceof ICDIDoubleValue ) { + fFloatingPointValue = new Double( ((ICDIDoubleValue)cdiValue).doubleValue() ); + } + else if ( cdiValue instanceof ICDIFloatValue ) { + fFloatingPointValue = new Float( ((ICDIFloatValue)cdiValue).floatValue() ); + } + } + return fFloatingPointValue; + } +} diff --git a/doc/org.eclipse.cdt.doc.isv/.project b/doc/org.eclipse.cdt.doc.isv/.project deleted file mode 100644 index 3d7ca9106e0..00000000000 --- a/doc/org.eclipse.cdt.doc.isv/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - org.eclipse.cdt.doc.isv - - - - - - - - diff --git a/releng/org.eclipse.cdt.releng/build.sh b/releng/org.eclipse.cdt.releng/build.sh deleted file mode 100644 index 39e676697cd..00000000000 --- a/releng/org.eclipse.cdt.releng/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -# Treat this is an example build script -# Please adjust paths as necessary for your build machine - -export JAVA_HOME=/opt/java/j2sdk1.4.2_03 -export PATH=$JAVA_HOME/bin:$PATH - -cd `dirname $0` - -java -cp ../org.eclipse.releng.basebuilder/startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner $* 2>&1 | tee build.log diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml deleted file mode 100644 index 9faf3fdee10..00000000000 --- a/releng/org.eclipse.cdt.releng/build.xml +++ /dev/null @@ -1,357 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.cdt.releng/maps/cdt.map b/releng/org.eclipse.cdt.releng/maps/cdt.map deleted file mode 100644 index bd5bb617462..00000000000 --- a/releng/org.eclipse.cdt.releng/maps/cdt.map +++ /dev/null @@ -1,44 +0,0 @@ -! Cross platform - -plugin@org.eclipse.cdt.core=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.make.core=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.make.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.managedbuilder.core=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.managedbuilder.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.debug.core=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.debug.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.debug.mi.core=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.debug.mi.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.launch=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt.doc.user=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -plugin@org.eclipse.cdt=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -feature@org.eclipse.cdt=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt-feature - -! Platform specific - -fragment@org.eclipse.cdt.core.aix=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -fragment@org.eclipse.cdt.core.linux=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -fragment@org.eclipse.cdt.core.qnx=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -fragment@org.eclipse.cdt.core.solaris=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -fragment@org.eclipse.cdt.core.win32=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, - -! Testing feature - -plugin@org.eclipse.cdt.core.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.ui.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.debug.ui.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -plugin@org.eclipse.cdt.testing=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, -feature@org.eclipse.cdt.testing=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt.testing-feature - -! SDK Feature - -plugin@org.eclipse.cdt.sdk=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt-releng/org.eclipse.cdt.sdk -feature@org.eclipse.cdt.sdk=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt-releng/org.eclipse.cdt.sdk-feature diff --git a/releng/org.eclipse.cdt.releng/message.in b/releng/org.eclipse.cdt.releng/message.in deleted file mode 100644 index c668b758d41..00000000000 --- a/releng/org.eclipse.cdt.releng/message.in +++ /dev/null @@ -1,9 +0,0 @@ -The build is available at - - http://update.eclipse.org/tools/cdt/updates/builds/2.0 - -Cheers, -dschaefer2, the buildmaster... - ---- Compile logs --- - diff --git a/releng/org.eclipse.cdt.releng/platform/build.properties b/releng/org.eclipse.cdt.releng/platform/build.properties deleted file mode 100644 index 2656348973a..00000000000 --- a/releng/org.eclipse.cdt.releng/platform/build.properties +++ /dev/null @@ -1,86 +0,0 @@ -##################### -# Parameters describing how and where to execute the build. -# Typical users need only update the following properties: -# baseLocation - where things you are building against are installed -# bootclasspath - The base jars to compile against (typicaly rt.jar) -# configs - the list of {os, ws, arch} configurations to build. -# -# Of course any of the settings here can be overridden by spec'ing -# them on the command line (e.g., -DbaseLocation=d:/eclipse - -############# CVS CONTROL ################ -# The CVS tag to use when fetching the map files from the repository -mapVersionTag=HEAD - -# The CVS tag to use when fetching elements to build. By default the -# builder will use whatever is in the maps. Use this value to override -# for example, when doing a nightly build out of HEAD -# fetchTag=HEAD - - -############## BUILD / GENERATION CONTROL ################ -# The directory into which the build elements will be fetched and where -# the build will take place. buildDirectory and install should be the same -# value. -buildDirectory=build - -# Type of build. Used in naming the build output. Typically this value is -# one of I, N, M, S, ... -buildType=I - -# ID of the build. Used in naming the build output. -buildId=TestBuild - -# Label for the build. Used in naming the build output -buildLabel=${buildType}.${buildId} - -# Timestamp for the build. Used in naming the build output -timestamp=007 - -# Base location for anything the build needs to compile against. For example, -# when building GEF, the baseLocation should be the location of a previously -# installed Eclipse against which the GEF code will be compiled. -baseLocation= - -#Os/Ws/Arch/nl of the eclipse specified by baseLocation -#baseos -#basews -#basearch -#basenl - -# The location underwhich all of the build output will be collected. This will be -# the root path in the resultant zip file. -collPlace=eclipse - -# The directory in which to execute zip of the ${collPlace} directory -collBase=. - -# The list of {os, ws, arch} configurations to build. This -# value is a '&' separated list of ',' separate triples. For example, -# configs=win32,win32,x86 & linux,motif,x86 -# By default the value is *,*,* -configs=\ - aix,motif,ppc \ - & hpux,motif,PA_RISC \ - & linux,gtk,x86 \ - & linux,motif,x86 \ - & qnx,photon,x86 \ - & solaris,motif,sparc \ - & win32,win32,x86 - -#Arguments to send to the zip executable -zipargs= - -############# JAVA COMPILER OPTIONS ############## -# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE -#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar - -javacDebugInfo=on -javacVerbose=true -javacFailOnError=false - -# The version of the source code -#javaSource=1.3 - -# The version of the byte code targeted -#javacTarget=1.1 diff --git a/releng/org.eclipse.cdt.releng/platform/customTargets.xml b/releng/org.eclipse.cdt.releng/platform/customTargets.xml deleted file mode 100644 index f427aafc9c4..00000000000 --- a/releng/org.eclipse.cdt.releng/platform/customTargets.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.cdt.releng/sdk/build.properties b/releng/org.eclipse.cdt.releng/sdk/build.properties deleted file mode 100644 index 5ddb074eb83..00000000000 --- a/releng/org.eclipse.cdt.releng/sdk/build.properties +++ /dev/null @@ -1,88 +0,0 @@ -##################### -# Parameters describing how and where to execute the build. -# Typical users need only update the following properties: -# baseLocation - where things you are building against are installed -# bootclasspath - The base jars to compile against (typicaly rt.jar) -# configs - the list of {os, ws, arch} configurations to build. -# -# Of course any of the settings here can be overridden by spec'ing -# them on the command line (e.g., -DbaseLocation=d:/eclipse - -############# CVS CONTROL ################ -# The CVS tag to use when fetching the map files from the repository -mapVersionTag=HEAD - -# The CVS tag to use when fetching elements to build. By default the -# builder will use whatever is in the maps. Use this value to override -# for example, when doing a nightly build out of HEAD -# fetchTag=HEAD - - -############## BUILD / GENERATION CONTROL ################ -# The directory into which the build elements will be fetched and where -# the build will take place. buildDirectory and install should be the same -# value. -buildDirectory=build - -# Type of build. Used in naming the build output. Typically this value is -# one of I, N, M, S, ... -buildType=I - -# ID of the build. Used in naming the build output. -buildId=TestBuild - -# Label for the build. Used in naming the build output -buildLabel=${buildType}.${buildId} - -# Timestamp for the build. Used in naming the build output -timestamp=007 - -# Base location for anything the build needs to compile against. For example, -# when building GEF, the baseLocation should be the location of a previously -# installed Eclipse against which the GEF code will be compiled. -baseLocation= - -#Os/Ws/Arch/nl of the eclipse specified by baseLocation -#baseos -#basews -#basearch -#basenl - -# The location underwhich all of the build output will be collected. This will be -# the root path in the resultant zip file. -collPlace=eclipse - -# The directory in which to execute zip of the ${collPlace} directory -collBase=. - -# The list of {os, ws, arch} configurations to build. This -# value is a '&' separated list of ',' separate triples. For example, -# configs=win32,win32,x86 & linux,motif,x86 -# By default the value is *,*,* -configs=\ - aix,motif,ppc \ - & hpux,motif,PA_RISC \ - & linux,gtk,x86 \ - & linux,motif,x86 \ - & qnx,photon,x86 \ - & solaris,motif,sparc \ - & win32,win32,x86 - -#Arguments to send to the zip executable -zipargs= - -############# JAVA COMPILER OPTIONS ############## -# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE -#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar - -# Whether or not to include debug info in the output jars -javacDebugInfo=true - -# Whether or not to fail the build if there are compiler errors -javacfailonerror=true - -# The version of the source code -#javaSource=1.3 - -# The version of the byte code targeted -#javacTarget=1.1 diff --git a/releng/org.eclipse.cdt.releng/sdk/customTargets.xml b/releng/org.eclipse.cdt.releng/sdk/customTargets.xml deleted file mode 100644 index 9812768ba1f..00000000000 --- a/releng/org.eclipse.cdt.releng/sdk/customTargets.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.cdt.releng/site.in b/releng/org.eclipse.cdt.releng/site.in deleted file mode 100644 index 5915efc4414..00000000000 --- a/releng/org.eclipse.cdt.releng/site.in +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/releng/org.eclipse.cdt.testing-feature/feature.xml b/releng/org.eclipse.cdt.testing-feature/feature.xml deleted file mode 100644 index 20c5a16bdb1..00000000000 --- a/releng/org.eclipse.cdt.testing-feature/feature.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - %description - - - - %license - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.cdt.testing/plugin.xml b/releng/org.eclipse.cdt.testing/plugin.xml deleted file mode 100644 index 4512b7b1042..00000000000 --- a/releng/org.eclipse.cdt.testing/plugin.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -