Skip to content

Commit 8222dbe

Browse files
committed
Add GNU assembler debug level option to MBS
1 parent 381cb7e commit 8222dbe

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

build/org.eclipse.cdt.managedbuilder.gnu.ui/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.gnu.ui; singleton:=true
5-
Bundle-Version: 8.7.0.qualifier
5+
Bundle-Version: 8.7.100.qualifier
66
Bundle-Activator: org.eclipse.cdt.managedbuilder.gnu.ui.GnuUIPlugin
77
Bundle-Vendor: %providerName
88
Bundle-Localization: plugin

build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml

+46
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?eclipse version="3.0"?>
3+
<!--
4+
Copyright (c) 2005, 2024 Intel Corporation and others
5+
This program and the accompanying materials
6+
are made available under the terms of the Eclipse Public License 2.0
7+
which accompanies this distribution, and is available at
8+
https://www.eclipse.org/legal/epl-2.0/
9+
10+
SPDX-License-Identifier: EPL-2.0
11+
12+
Contributors:
13+
Intel Corporation - initial API and implementation
14+
John Dallaway - add assembler debug level option (#727)
15+
-->
316
<plugin>
417

518

@@ -576,6 +589,39 @@
576589
name="%OptionCategory.General"
577590
id="gnu.asm.category.general">
578591
</optionCategory>
592+
<option
593+
category="gnu.asm.category.general"
594+
id="gnu.asm.option.debugging.level"
595+
name="%Option.Posix.DebugLevel"
596+
valueType="enumerated">
597+
<enumeratedOptionValue
598+
name="%Option.Posix.Debug.None"
599+
id="gnu.asm.debugging.level.none"
600+
isDefault="true"/>
601+
<enumeratedOptionValue
602+
command="-g"
603+
name="%Option.Posix.Debug.Def"
604+
id="gnu.asm.debugging.level.default"
605+
isDefault="false"/>
606+
<enablement
607+
attribute="defaultValue"
608+
extensionAdjustment="false"
609+
type="CONTAINER_ATTRIBUTE"
610+
value="gnu.asm.debugging.level.none">
611+
<checkBuildProperty
612+
property="org.eclipse.cdt.build.core.buildType"
613+
value="org.eclipse.cdt.build.core.buildType.release"/>
614+
</enablement>
615+
<enablement
616+
attribute="defaultValue"
617+
extensionAdjustment="false"
618+
type="CONTAINER_ATTRIBUTE"
619+
value="gnu.asm.debugging.level.default">
620+
<checkBuildProperty
621+
property="org.eclipse.cdt.build.core.buildType"
622+
value="org.eclipse.cdt.build.core.buildType.debug"/>
623+
</enablement>
624+
</option>
579625
<option
580626
name="%Option.Gnu.Assembler.Flags"
581627
category="gnu.asm.category.general"

0 commit comments

Comments
 (0)