3 the debugger for 740, 3 get or set c variables – Renesas Emulator Debugger M16C PC4701 User Manual

Page 278

Advertising
background image


12.1.2.3 The debugger for 740

Only the ROM area memory-mapped in the area set as Internal can be designated for software
breakpoint.
You cannot set software breakpoint in ROM areas memory-mapped in the SFR area, RAM area or
other areas set as External.

12.1.3 Get or set C variables

•

If a variable is declared with the same name as the type definition name declared by typedef, you
cannot reference that variable.

•

Values cannot be changed for register variables.

•

Values cannot be changed for 64 bit width variables (long long, double, and so on).

•

Values cannot be changed for C/C++ expressions that do not indicate the memory address and
size.

•

For the sake of optimization, the C compiler may place different variables at the same address. In
this case, values of the C variable may not be displayed correctly.

•

Literal character strings can only be substituted for char array and char pointer type variables.

•

No arithmetic operations can be performed on floating point types.

•

No sign inversion can be performed on floating point types.

•

Casting cannot be performed on floating point types.

•

Casting cannot be performed on register variables.

•

Casting cannot be performed on structure types, union types, or pointer types to structure or
union types.

•

Character constants and literal character strings cannot contain escape sequences.

•

The following values can be substituted for the bit-fields.
-

integer constants, character constants, and enumerators

-

variables of bool types, characters types, integers types, and enumeration types

-

bit-field

When the substituted value is larger than the size of the bit-field, it will be truncated.

•

The bit-field member allocated in the SFR area might not be transformed into a correct value.

•

While the target program is running, values of local variables and bit-fields cannot be modified.

264

Advertising