Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
RENESAS TOOL NEWS on July 1, 2007: 070701/tn2

A Note on Using High-performance Embedded Workshop


Please take note of the following problem in using High-performance Embedded Workshop (IDE):
  • With referencing member variables defined in a nested unnamed union


1. Description
   If member variables of a nested unnamed union are defined using 
   High-performance Embedded Workshop and any of the following debuggers, 
   these member variables cannot be referenced by the debugger.

    - Simulator debugger for the SuperH RISC engine family
    - Simulator debugger for the H8SX, H8S, and H8 families
    - E8 emulator software
    - E10A-USB emulator software
    - E10T-USB emulator software
    - E200F emulator software
    - E6000H emulator software
    - E6000 emulator software

2. Conditions
   This problem occurs if the following conditions are all satisfied:
   (1) Load modules are created in the ELF/DWARF2 object format.
   (2) an unnamed union is nested.

2.1 Example in Type Declaration
    union {
        unsigned char digit2[2];
        unsigned short word2;
        union {
            unsigned char digit_nested[2]; *
            unsigned short word_nested;    *
        };
    };

    *The debugger cannot reference the member variables of these nested 
     unnamed unions.

3. Solution
   This problem has been fixed in the High-performance Embedded Workshop 
   V.4.03.00.
   For details see RENESAS TOOL NEWS Document No. 070701/tn3, issued on 
   July 1, 2007, in this series of news.



© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal