View Full Version : Setting default typecasts for user defined types

11-03-2008, 09:14 PM
I was wondering if there is any way to change the typecasts used by TotalView for displaying data. Our company has code that processes Unicode on multiple platforms. A typedef of UCHAR is used for data which is 16 bit Unicode. Whenever we look at a UCHAR array or pointer, it would be nice if (by default) the debugger would display the data as "$wstring_u16" data, rather than displaying "UCHAR" as the type and displaying it as "unsigned short" data. It would be really handy if there were an option that would let us define this so that we didn't have to type in the typecast every time we are looking at Unicode data.
Thanks in advance!