
Using Expression Analysis in the Debugger
12-4
12.2 Using Expression Analysis in the Debugger
The debugger’s expression analysis is based on C expression analysis. This
includes all mathematical, relational, pointer, and assignment operators.
However, a few limitations, as well as a few additional features, are not
described in K&R C.
Restrictions
The following restrictions apply to the debugger’s expression analysis
features.
-
The sizeof operator is not supported.
-
The comma operator (,) is not supported (commas are used to separate
parameter values for the debugger commands).
-
Function calls and string constants are currently not supported in expres-
sions.
-
The debugger supports a limited capability of type casts; the following
forms are allowed:
(
basic type )
(
basic type * ...)
( [
structure/union/enum] structure/union/enum tag )
( [
structure/union/enum] structure/union/enum tag * ... )
Note that you can use up to six
*
s in a cast.
Additional features
-
All floating-point operations are performed in double precision using stan-
dard widening. (This is transparent.) Floats are represented in IEEE floa-
ting-point format.
-
All registers can be referenced by name. The TMS320C6x’s auxiliary reg-
isters are treated as integers and/or pointers.
-
Void expressions are legal (treated like integers).
-
The specification of variables and functions can be qualified with context
information. Local variables (including local statics) can be referenced
with the expression form:
function name.local name
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...