Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Problem with TI cg_xml global_types_gen

$
0
0

Hi,

During the process of generating a global_types file for my C/C++ Project (using the utilities ofd6x.exe + global_types_gen.exe) I have found out an error in the generated file by global_types_gen.exe. The problem occurs when in a project you have two structs which have the same variables names and types (I know it seems weird but I need this for my project) and other structures have references for them. When the intermediate XML file is generated the structures which have references for theses structures (each one have a reference for a different structure) have their DWARF tag DT_AT_type referencing to the same DWARF DW_TAG_structure_type tag. Then when the global_types file is generated will have reference for only one structure, missing the other.

The believe problem is in the global_types_gen.pl script.  I've attached in this post a .zip containing a example project for reproducing the problem, the XML file generated, the GlobalTypes txt generated

Thanks in advance

Lincoln

(Please visit the site to view this file)

(Please visit the site to view this file)

(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 91752

Trending Articles