<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>default_value</TITLE
|
>default_value</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="The eCos Component Writer's Guide"
|
TITLE="The eCos Component Writer's Guide"
|
HREF="cdl-guide.html"><LINK
|
HREF="cdl-guide.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="CDL Language Specification"
|
TITLE="CDL Language Specification"
|
HREF="reference.html"><LINK
|
HREF="reference.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="compile"
|
TITLE="compile"
|
HREF="ref.compile.html"><LINK
|
HREF="ref.compile.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="define"
|
TITLE="define"
|
HREF="ref.define.html"></HEAD
|
HREF="ref.define.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="REFENTRY"
|
CLASS="REFENTRY"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>The <SPAN
|
>The <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>eCos</SPAN
|
>eCos</SPAN
|
> Component Writer's Guide</TH
|
> Component Writer's Guide</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="ref.compile.html"
|
HREF="ref.compile.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="ref.define.html"
|
HREF="ref.define.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><H1
|
><H1
|
><A
|
><A
|
NAME="REF.DEFAULT-VALUE"><SPAN
|
NAME="REF.DEFAULT-VALUE"><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
></H1
|
></H1
|
><DIV
|
><DIV
|
CLASS="REFNAMEDIV"
|
CLASS="REFNAMEDIV"
|
><A
|
><A
|
NAME="AEN3887"
|
NAME="AEN3887"
|
></A
|
></A
|
><H2
|
><H2
|
>Name</H2
|
>Name</H2
|
>Property <SPAN
|
>Property <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> -- Provide a default value for this option using a CDL expression.</DIV
|
> -- Provide a default value for this option using a CDL expression.</DIV
|
><DIV
|
><DIV
|
CLASS="REFSYNOPSISDIV"
|
CLASS="REFSYNOPSISDIV"
|
><A
|
><A
|
NAME="AEN3891"><H2
|
NAME="AEN3891"><H2
|
>Synopsis</H2
|
>Synopsis</H2
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="SYNOPSIS"
|
CLASS="SYNOPSIS"
|
>cdl_option <name> {
|
>cdl_option <name> {
|
default_value <expression>
|
default_value <expression>
|
…
|
…
|
}</PRE
|
}</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="REFSECT1"
|
CLASS="REFSECT1"
|
><A
|
><A
|
NAME="AEN3893"
|
NAME="AEN3893"
|
></A
|
></A
|
><H2
|
><H2
|
>Description</H2
|
>Description</H2
|
><P
|
><P
|
>The <SPAN
|
>The <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> property allows the initial value of a
|
> property allows the initial value of a
|
configuration option to depend on other configuration options. The
|
configuration option to depend on other configuration options. The
|
arguments to the property should be a <SPAN
|
arguments to the property should be a <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>CDL</SPAN
|
>CDL</SPAN
|
> expression, see
|
> expression, see
|
<A
|
<A
|
HREF="language.values.html#LANGUAGE.EXPRESSION"
|
HREF="language.values.html#LANGUAGE.EXPRESSION"
|
>the Section called <I
|
>the Section called <I
|
>Ordinary Expressions</I
|
>Ordinary Expressions</I
|
> in Chapter 3</A
|
> in Chapter 3</A
|
> for the syntactic details.
|
> for the syntactic details.
|
In many cases a simple constant value will suffice, for example:</P
|
In many cases a simple constant value will suffice, for example:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>cdl_component CYGPKG_KERNEL_EXCEPTIONS {
|
>cdl_component CYGPKG_KERNEL_EXCEPTIONS {
|
…
|
…
|
default_value 1
|
default_value 1
|
|
|
cdl_option CYGSEM_KERNEL_EXCEPTIONS_DECODE {
|
cdl_option CYGSEM_KERNEL_EXCEPTIONS_DECODE {
|
…
|
…
|
default_value 0
|
default_value 0
|
}
|
}
|
}</PRE
|
}</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>However it is also possible for an option's default value to depend on
|
>However it is also possible for an option's default value to depend on
|
other options. For example the common HAL package provides some
|
other options. For example the common HAL package provides some
|
support functions that are needed by the <SPAN
|
support functions that are needed by the <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>eCos</SPAN
|
>eCos</SPAN
|
> kernel, but are
|
> kernel, but are
|
unlikely to be useful if the kernel is not being used. This
|
unlikely to be useful if the kernel is not being used. This
|
relationship can be expressed using:</P
|
relationship can be expressed using:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>cdl_option CYGFUN_HAL_COMMON_KERNEL_SUPPORT {
|
>cdl_option CYGFUN_HAL_COMMON_KERNEL_SUPPORT {
|
...
|
...
|
default_value CYGPKG_KERNEL
|
default_value CYGPKG_KERNEL
|
}</PRE
|
}</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>If the kernel is loaded then this HAL option is automatically enabled,
|
>If the kernel is loaded then this HAL option is automatically enabled,
|
although the user can still disable it explicitly should this prove
|
although the user can still disable it explicitly should this prove
|
necessary. If the kernel is not loaded then the option is disabled,
|
necessary. If the kernel is not loaded then the option is disabled,
|
although it can still be enabled by the user if desired.
|
although it can still be enabled by the user if desired.
|
<SPAN
|
<SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> expressions can be more complicated than this if
|
> expressions can be more complicated than this if
|
appropriate, and provide a very powerful facility for component
|
appropriate, and provide a very powerful facility for component
|
writers who want their code to “just do the right thing”
|
writers who want their code to “just do the right thing”
|
in a wide variety of configurations.</P
|
in a wide variety of configurations.</P
|
><P
|
><P
|
>The <SPAN
|
>The <SPAN
|
CLASS="APPLICATION"
|
CLASS="APPLICATION"
|
>CDL</SPAN
|
>CDL</SPAN
|
> configuration system evaluates the <SPAN
|
> configuration system evaluates the <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
>
|
>
|
expression when the current package is loaded and whenever there is a
|
expression when the current package is loaded and whenever there is a
|
change to any other option referenced in the expression. The result
|
change to any other option referenced in the expression. The result
|
depends on the option's flavor:</P
|
depends on the option's flavor:</P
|
><P
|
><P
|
></P
|
></P
|
><DIV
|
><DIV
|
CLASS="VARIABLELIST"
|
CLASS="VARIABLELIST"
|
><DL
|
><DL
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>flavor none</TT
|
>flavor none</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>Options with this flavor have no value, so the <SPAN
|
>Options with this flavor have no value, so the <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
>
|
>
|
property is not applicable.</P
|
property is not applicable.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>flavor bool</TT
|
>flavor bool</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>If the expression evaluates to a non-zero result the option is
|
>If the expression evaluates to a non-zero result the option is
|
enabled by default, otherwise it is disabled.</P
|
enabled by default, otherwise it is disabled.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>flavor booldata</TT
|
>flavor booldata</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>If the result of evaluating the expression is zero then the option is
|
>If the result of evaluating the expression is zero then the option is
|
disabled, otherwise the option is enabled and its value is the result.</P
|
disabled, otherwise the option is enabled and its value is the result.</P
|
></DD
|
></DD
|
><DT
|
><DT
|
><TT
|
><TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>flavor data</TT
|
>flavor data</TT
|
></DT
|
></DT
|
><DD
|
><DD
|
><P
|
><P
|
>The default value of the option is the result of evaluating the
|
>The default value of the option is the result of evaluating the
|
expression.</P
|
expression.</P
|
></DD
|
></DD
|
></DL
|
></DL
|
></DIV
|
></DIV
|
><P
|
><P
|
>A <TT
|
>A <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>cdl_option</TT
|
>cdl_option</TT
|
> or other entity can have at most one <SPAN
|
> or other entity can have at most one <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
>
|
>
|
property, and it is illegal to have both a <SPAN
|
property, and it is illegal to have both a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>calculated</SPAN
|
>calculated</SPAN
|
> and a
|
> and a
|
<SPAN
|
<SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> property in one body. If an option does not have
|
> property in one body. If an option does not have
|
either a <SPAN
|
either a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> or a <SPAN
|
> or a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>calculated</SPAN
|
>calculated</SPAN
|
> property and it does not
|
> property and it does not
|
have the flavor <TT
|
have the flavor <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>none</TT
|
>none</TT
|
> then the configuration tools
|
> then the configuration tools
|
will assume a default value expression of <TT
|
will assume a default value expression of <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>0</TT
|
>0</TT
|
>.</P
|
>.</P
|
><P
|
><P
|
>On occasion it is useful to have a configuration option
|
>On occasion it is useful to have a configuration option
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>A</TT
|
>A</TT
|
> which has both a <SPAN
|
> which has both a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>requires</SPAN
|
>requires</SPAN
|
> constraint on some
|
> constraint on some
|
other option <TT
|
other option <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>B</TT
|
>B</TT
|
> and a <SPAN
|
> and a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> expression of
|
> expression of
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>B</TT
|
>B</TT
|
>. If option <TT
|
>. If option <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>B</TT
|
>B</TT
|
> is not enabled
|
> is not enabled
|
then <TT
|
then <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>A</TT
|
>A</TT
|
> will also be disabled by default and no
|
> will also be disabled by default and no
|
conflict arises. If <TT
|
conflict arises. If <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>B</TT
|
>B</TT
|
> is enabled then
|
> is enabled then
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>A</TT
|
>A</TT
|
> also becomes enabled and again no conflict
|
> also becomes enabled and again no conflict
|
arises. If a user attempts to enable <TT
|
arises. If a user attempts to enable <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>B</TT
|
>B</TT
|
> but not
|
> but not
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>A</TT
|
>A</TT
|
> then there will be a conflict. Users should be
|
> then there will be a conflict. Users should be
|
able to deduce that the two options are closely interlinked and should
|
able to deduce that the two options are closely interlinked and should
|
not be manipulated independently except in very unusual circumstances.</P
|
not be manipulated independently except in very unusual circumstances.</P
|
><DIV
|
><DIV
|
CLASS="TIP"
|
CLASS="TIP"
|
><BLOCKQUOTE
|
><BLOCKQUOTE
|
CLASS="TIP"
|
CLASS="TIP"
|
><P
|
><P
|
><B
|
><B
|
>Tip: </B
|
>Tip: </B
|
>If the first entry in a <SPAN
|
>If the first entry in a <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> expression is a negative
|
> expression is a negative
|
number, for example <TT
|
number, for example <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>default_value -1</TT
|
>default_value -1</TT
|
> then this
|
> then this
|
can be misinterpreted as an option instead of as part of the
|
can be misinterpreted as an option instead of as part of the
|
expression. Currently the <SPAN
|
expression. Currently the <SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>default_value</SPAN
|
>default_value</SPAN
|
> property does not take any
|
> property does not take any
|
options, but this may change in future. Option processing halts at the
|
options, but this may change in future. Option processing halts at the
|
sequence <TT
|
sequence <TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>--</TT
|
>--</TT
|
>, so the desired value can be expressed
|
>, so the desired value can be expressed
|
safely using
|
safely using
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>default_value -- -1</TT
|
>default_value -- -1</TT
|
></P
|
></P
|
></BLOCKQUOTE
|
></BLOCKQUOTE
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><BLOCKQUOTE
|
><BLOCKQUOTE
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><P
|
><P
|
><B
|
><B
|
>Note: </B
|
>Note: </B
|
>In many cases it would be useful to calculate default values using
|
>In many cases it would be useful to calculate default values using
|
some global preferences, for example:</P
|
some global preferences, for example:</P
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>cdl_option CYGIMP_LIBC_STRING_PREFER_SMALL_TO_FAST {
|
>cdl_option CYGIMP_LIBC_STRING_PREFER_SMALL_TO_FAST {
|
…
|
…
|
default_value CYGGLO_CODESIZE > CYGGLO_SPEED
|
default_value CYGGLO_CODESIZE > CYGGLO_SPEED
|
}</PRE
|
}</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><P
|
><P
|
>Such global preference options do not yet exist, but are likely to be
|
>Such global preference options do not yet exist, but are likely to be
|
added in a future version.</P
|
added in a future version.</P
|
></BLOCKQUOTE
|
></BLOCKQUOTE
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><BLOCKQUOTE
|
><BLOCKQUOTE
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><P
|
><P
|
><B
|
><B
|
>Note: </B
|
>Note: </B
|
>For options with the booldata flavor the current syntax does not allow
|
>For options with the booldata flavor the current syntax does not allow
|
the default values of the enabled flag and the value to be controlled
|
the default values of the enabled flag and the value to be controlled
|
separately. Functionality to permit this may be added in a future
|
separately. Functionality to permit this may be added in a future
|
release.</P
|
release.</P
|
></BLOCKQUOTE
|
></BLOCKQUOTE
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="REFSECT1"
|
CLASS="REFSECT1"
|
><A
|
><A
|
NAME="AEN3964"
|
NAME="AEN3964"
|
></A
|
></A
|
><H2
|
><H2
|
>Example</H2
|
>Example</H2
|
><TABLE
|
><TABLE
|
BORDER="5"
|
BORDER="5"
|
BGCOLOR="#E0E0F0"
|
BGCOLOR="#E0E0F0"
|
WIDTH="70%"
|
WIDTH="70%"
|
><TR
|
><TR
|
><TD
|
><TD
|
><PRE
|
><PRE
|
CLASS="PROGRAMLISTING"
|
CLASS="PROGRAMLISTING"
|
>cdl_option CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT {
|
>cdl_option CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT {
|
display "Include GDB multi-threading debug support"
|
display "Include GDB multi-threading debug support"
|
requires CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT
|
requires CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT
|
default_value CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT
|
default_value CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT
|
description "
|
description "
|
This option enables some extra HAL code which is needed
|
This option enables some extra HAL code which is needed
|
to support multi-threaded source level debugging."
|
to support multi-threaded source level debugging."
|
}</PRE
|
}</PRE
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="REFSECT1"
|
CLASS="REFSECT1"
|
><A
|
><A
|
NAME="AEN3967"
|
NAME="AEN3967"
|
></A
|
></A
|
><H2
|
><H2
|
>See Also</H2
|
>See Also</H2
|
><P
|
><P
|
>Properties <A
|
>Properties <A
|
HREF="ref.calculated.html"
|
HREF="ref.calculated.html"
|
><SPAN
|
><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>calculated</SPAN
|
>calculated</SPAN
|
></A
|
></A
|
>,
|
>,
|
<A
|
<A
|
HREF="ref.flavor.html"
|
HREF="ref.flavor.html"
|
><SPAN
|
><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>flavor</SPAN
|
>flavor</SPAN
|
></A
|
></A
|
> and
|
> and
|
<A
|
<A
|
HREF="ref.legal-values.html"
|
HREF="ref.legal-values.html"
|
><SPAN
|
><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>legal_values</SPAN
|
>legal_values</SPAN
|
></A
|
></A
|
>.</P
|
>.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ref.compile.html"
|
HREF="ref.compile.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="cdl-guide.html"
|
HREF="cdl-guide.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ref.define.html"
|
HREF="ref.define.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><SPAN
|
><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>compile</SPAN
|
>compile</SPAN
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="reference.html"
|
HREF="reference.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><SPAN
|
><SPAN
|
CLASS="PROPERTY"
|
CLASS="PROPERTY"
|
>define</SPAN
|
>define</SPAN
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|