Technical information

Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 49
No. a34
Debug command print fails if a variable’s type has the same name as one of the command
option
Version Information
V3.5
Details
With the debug command line print, the user gets a parse error when in the code a typedef has
the same name as the option passed to print.
Example:
test.c
typedef unsigned char c;
c dummy;
int main()
{
dummy = 2;
return dummy;
}
Command Sequence
In debugger command pane:
MULTI> print /c dummy
parse error
Workaround
The print command has the following syntax: print[/format] exp
With format: [count] style[size]
As soon as the option 'count' or 'size' is used then the problem
disappears:
MULTI>print /1b toto
toto =...
Or change the name of the typedef.