Community
Participate
Working Groups
Created attachment 248415 [details] C++11 example C++ 11 introduces new basic types like char16_t, char32_t. Those types are encoded as DWARF DW_ATE_packed_decimal (0x0a). Such an encoding is not recognized by the agent, so the Symbol.getContext command does not return the TypeClass: 2014-11-05 17:20:38,938 : ---> C 24 Symbols getContext "@M0.@S4.19.1374331.545A34E6%1E.1B25.2.0.0.0.P9557" 2014-11-05 17:20:38,943 : <--- R 24 None {"ID":"@M0.@S4.19.1374331.545A34E6%1E.1B25.2.0.0.0.P9557","OwnerID":"P9557","UpdatePolicy":0,"Name":"char16_t","TypeID":"@M0.@S4.19.1374331.545A34E6%1E.1B25.2.0.0.0.P9557","ContainerID":"@M0.@S5.19.1374331.545A34E6%1E.B.2.0.0.0.P9557","Size":2,"Flags":8192,"Class":4}
Actually, they are encoded as DW_ATE_UTF (0x10). Added it as CARDINAL type class. Fixed. Thanks!
I mixed my read about hexa/dec (16/0x10/10/0xa) that wrongly pointed me to DW_ATE_packed_decimal value. For DW_ATE_UTF support, I should have been able to provide a patch ... Sorry about that. Thanks for the fix!