From c91d0f7d4ad04dcc1bd00dbb240324a71e41f1f6 Mon Sep 17 00:00:00 2001 From: John Dallaway Date: Thu, 8 Jun 2023 16:39:05 +0100 Subject: [PATCH] Process ELF files without file suffix as binary content --- .../org.eclipse.cdt.core/META-INF/MANIFEST.MF | 2 +- core/org.eclipse.cdt.core/plugin.properties | 8 +++--- core/org.eclipse.cdt.core/plugin.xml | 26 +++++++++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF b/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF index ca6823a44b9..8fe27c74ce9 100644 --- a/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF +++ b/core/org.eclipse.cdt.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.cdt.core; singleton:=true -Bundle-Version: 8.2.0.qualifier +Bundle-Version: 8.2.100.qualifier Bundle-Activator: org.eclipse.cdt.core.CCorePlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/core/org.eclipse.cdt.core/plugin.properties b/core/org.eclipse.cdt.core/plugin.properties index 696efa230de..5008a4744a8 100644 --- a/core/org.eclipse.cdt.core/plugin.properties +++ b/core/org.eclipse.cdt.core/plugin.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2003, 2014 IBM Corporation and others. +# Copyright (c) 2003, 2023 IBM Corporation and others. # # This program and the accompanying materials # are made available under the terms of the Eclipse Public License 2.0 @@ -12,6 +12,7 @@ # IBM Corporation - initial API and implementation # Anton Leherbauer (Wind River Systems) # Martin Oberhuber (Wind River) - [303083] Split out the Spawner +# John Dallaway - Add ELF file content type (#409) ############################################################################### pluginName=C/C++ Development Tools Core providerName=Eclipse CDT @@ -41,8 +42,8 @@ CTaskName=C/C++ Task IndexerMarker=Indexer Marker -ElfParser.name=Elf Parser -GNUElfParser.name=GNU Elf Parser +ElfParser.name=ELF Parser +GNUElfParser.name=GNU ELF Parser PEWindowsParser.name=PE Windows Parser (Deprecated) PE64WindowsParser.name=PE64 Windows Parser GNUPE64WindowsParser.name=GNU PE64 Windows Parser @@ -100,6 +101,7 @@ cxxSourceName=C++ Source File cxxHeaderName=C++ Header File asmSourceName=Assembly Source File binaryFileName=Binary File +elfFileName=ELF File cdt_pathentry_var.description=CDT PathEntry variable config_name_var.description=The name of the active configuration for the project specified as an argument diff --git a/core/org.eclipse.cdt.core/plugin.xml b/core/org.eclipse.cdt.core/plugin.xml index 2d752bec2cc..b2a7c8a974a 100644 --- a/core/org.eclipse.cdt.core/plugin.xml +++ b/core/org.eclipse.cdt.core/plugin.xml @@ -567,6 +567,30 @@ + + + + + + + + + + + + + @@ -603,8 +627,6 @@ base-type="org.eclipse.core.runtime.text" file-extensions="S,s,asm,ASM" priority="high"/> -