
Run Code Conditionally / WHATIS That?
2-21
An Introductory Tutorial to the C Source Debugger
When the conditional run completes, close the WATCH window.
Close the WATCH window:
wr
WHATIS that?
At some point, you might like to obtain some information about the types of
data in your C program. Maybe things won’t be working quite the way you’d
planned, and you’ll find yourself saying something like “... but isn’t that sup-
posed to point to an integer?” Here’s how you can check on this kind of infor-
mation; be sure to watch the COMMAND window display area as you enter
these commands.
Use the WHATIS command to find the types of some of the variables
declared in the sample program:
whatis genum
enum yyy genum;
genum is an enumerated type
whatis tiny6
struct {
tiny6 is a structure
int u;
int v;
int x;
int y;
int z;
} tiny6;
whatis call
int call();
call is a function that returns an integer
whatis s
short s;
s is a short unsigned integer
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 ...