
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 *
Summary of Contents for TMS320C6 Series
Page 10: ...x ...
Page 20: ...xx ...
Page 118: ...4 20 ...
Page 144: ...6 16 ...
Page 164: ...7 20 ...
Page 170: ...8 6 ...
Page 284: ...B 18 ...
Page 290: ...C 6 ...