
setf
Alphabetical Summary of Debugger Commands
11-36
Set Default Data-Display Format
setf
Syntax
setf
[
data type, display format ]
Menu selection
none
Environments
basic debugger
profiling
Description
The SETF command changes the display format for a specific data type. If you
enter SETF with no parameters, the debugger lists the current display format
for each data type.
-
The
data type parameter can be any of the following C data types:
char
short
uint
ulong
double
uchar
int
long
float
ptr
-
The
display format parameter can be any of the following characters:
Parameter
Result
Parameter
Result
*
Default for the data type
o
Octal
c
ASCII character (bytes)
p
Valid address
d
Decimal
s
ASCII string
e
Exponential floating point
u
Unsigned decimal
f
Decimal floating point
x
Hexadecimal
Only a subset of the display formats can be used for each data type. Listed
below are the valid combinations of data types and display formats.
Valid Display Formats
Valid Display Formats
Data
Type
c d o x e f
p s u
Data
Type
c d o x e f
p s u
char (c)
√
√ √ √
√
long (d)
√
√ √ √
√
uchar (d)
√
√ √ √
√
ulong (d)
√
√ √ √
√
short (d)
√ √ √ √
√
float (e)
√ √ √ √
int (d)
√ √ √ √
√
double (e)
√ √ √ √
uint (d)
√ √ √ √
√
ptr (p)
√ √
√ √
To return all data types to their default display format, enter:
setf *
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...