How TotalView Displays C Data Types
TotalView's syntax for displaying data is identical to C Language cast syntax for all data types except pointers to arrays. That is, you should use C Language cast syntax for int, short, unsigned, float, double, union, and all named struct types.
TotalView types are read from right to left. For example, <string>*[20]* is a pointer to an array of 20 pointers to <string>.
The following table shows some common types.
Type String |
Meaning |
int |
Integer |
int* |
Pointer to integer |
int[10] |
Array of 10 integers |
<string> |
Null-terminated character string |
<string>** |
Pointer to a pointer to a null-terminated character string |
<string>*[20]* |
Pointer to an array of 20 pointers to null-terminated strings |
You can also enter C Language cast syntax verbatim in the type field for any type. In addition, TotalView can display C Language cast syntax permanently if you set an X Window Resource. See totalview*cTypeStrings for further information.
The following sections discuss the more complex types.