TotalView User Guide
:
Part II: Debugging Tools and Tasks
:
Examining and Editing Data and Program Elements
:
Changing a Variable’s Data Type
: Viewing Pointers to Arrays
Viewing Pointers to Arrays
Suppose you declared a variable
vbl
as a pointer to an array of 23 pointers to an array of 12 objects of type
mytype_t
. The C language declaration for this is:
mytype_t (*(*vbl)[23]) [12];
Here is how you would cast the
vbl
variable to this type:
(mytype_t (*(*)[23])[12])vbl
The TotalView cast for
vbl
is:
mytype_t[12]*[23]*