Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
RENESAS TOOL NEWS on March 16, 2005: RSO-HEW_1-050316D

A Note on Using
the High-performance Embedded Workshop

--On Debugging ELF/DWARF2-Formatted Load Modules--

Please take note of the following problem in using the High-performance Embedded Workshop, an integrated development environment:
  • On debugging ELF/DWARF2-formatted load modules


  1. Versions Concerned
    High-performance Embedded Workshop V.2.1 through V.4.00.00

    To check for the version number of your High-performance Embedded Workshop, open the Help menu and select the About High-performance Embedded Workshop command.

  2. Description
    Debugging load modules created in the ELF/DWARF2 format may cause the High-performance Embedded Workshop to terminate abnormally.

    2.1 Conditions
    This problem occurs if the following problems are all satisfied:
    (1) A class- or structure-type variable is defined which has union-type objects without names as its members.
    (2) The variable in (1) is displayed in the Watch or Local window.
    (3) (2)Then the variable in (1) is expanded to display* in the same window.
    * To expand a variable to display is to display its members.
    Example:
    -------------------------------------
        struct Str3 {
            long total;
            union {
                int  i;
                char c;
            };
        } gObj;
    -------------------------------------
    In the above example, the High-performance Embedded Workshop terminates
    abnormally when the "gObj" variable is expanded to display.

  3. Workaround
    This problem can be circumvented in either of the following ways:
    (1)In the case shown in the above example, enter union-type members without names into the Watch window such a manner as "gObj.i" or "gObj.c"
    (2)Define union-type members without names by giving variable names as shown in the example below.
    Example:
    -------------------------------------
    struct Str3 {
        long total;
        union {
            int  i;
            char c;
        } m_Uni;      /* Define by giving a variable name */
    } gObj;
    -------------------------------------
  4. Schedule of Fixing the Problem
    We plan to fix this problem in the next release of the product.





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