diff options
author | Marc-Andre Laperle | 2015-07-20 17:44:28 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2015-07-29 03:21:29 +0000 |
commit | c137a9dfbc98fdc84cb8d9e5236dbc4e7c09feca (patch) | |
tree | ea0210db32a1b5b84492d1ad970736cc898bc1b4 /debug/org.eclipse.cdt.debug.application | |
parent | 7571170de65b34d5980b55b4fc4b9d767a34c6c6 (diff) | |
download | org.eclipse.cdt-c137a9dfbc98fdc84cb8d9e5236dbc4e7c09feca.tar.gz org.eclipse.cdt-c137a9dfbc98fdc84cb8d9e5236dbc4e7c09feca.tar.xz org.eclipse.cdt-c137a9dfbc98fdc84cb8d9e5236dbc4e7c09feca.zip |
Build stand-alone debugger RCP for Windows
Change-Id: I50dae8e3cfb47c4db7f0354e57753055958e3d2c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Diffstat (limited to 'debug/org.eclipse.cdt.debug.application')
3 files changed, 9 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.application/icons/cc.ico b/debug/org.eclipse.cdt.debug.application/icons/cc.ico Binary files differnew file mode 100644 index 00000000000..c91e3827049 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.application/icons/cc.ico diff --git a/debug/org.eclipse.cdt.debug.application/plugin.properties b/debug/org.eclipse.cdt.debug.application/plugin.properties index c4fb803cfbe..b9f08e7323f 100644 --- a/debug/org.eclipse.cdt.debug.application/plugin.properties +++ b/debug/org.eclipse.cdt.debug.application/plugin.properties @@ -38,6 +38,6 @@ DebugRemoteExecutableMenu.label=&Remote Executable... DebugCore.description=Debug a corefile DebugCore.name=Debug Core File DebugCoreMenu.label=Debug &Core File... -aboutText=Eclipse Stand-alone C/C++ GDB Graphical Debugger\n\nRelease 1.0.0\n +aboutText=Eclipse Stand-alone C/C++ GDB Graphical Debugger\n\nRelease 1.1.0\n ProductDesc=Eclipse Stand-alone C/C++ GDB Debugger ProductName=Stand-alone C/C++ GDB Debugger
\ No newline at end of file diff --git a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/internal/debug/application/CompilerOptionParser.java b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/internal/debug/application/CompilerOptionParser.java index 752587d0a60..6500474829a 100644 --- a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/internal/debug/application/CompilerOptionParser.java +++ b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/internal/debug/application/CompilerOptionParser.java @@ -26,6 +26,7 @@ import org.eclipse.cdt.core.settings.model.ICProjectDescription; import org.eclipse.cdt.core.settings.model.ICProjectDescriptionManager; import org.eclipse.cdt.debug.application.GCCCompileOptionsParser; import org.eclipse.cdt.debug.application.Messages; +import org.eclipse.cdt.utils.coff.parser.PEParser; import org.eclipse.cdt.utils.elf.parser.GNUElfParser; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; @@ -64,9 +65,13 @@ public class CompilerOptionParser implements IWorkspaceRunnable { try { // Calculate how many source files we have to process and use that as a basis // for our work estimate. - GNUElfParser binParser = new GNUElfParser(); - IBinaryFile bf = binParser - .getBinary(new Path(executable)); + IBinaryFile bf; + try { + bf = new GNUElfParser().getBinary(new Path(executable)); + } catch (IOException e) { + // Try Portable Executable (Windows) + bf = new PEParser().getBinary(new Path(executable)); + } ISymbolReader reader = bf.getAdapter(ISymbolReader.class); String[] sourceFiles = reader .getSourceFiles(); |