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

Forum Post: RE: CCS 5.5 debugger shows incorrect address for C++ class given static storage allocation in main

$
0
0

[quote user="Raymond Pang"]I have submitted a bug report SDSCM00049324 against the code gen team.[/quote]Thanks for that.

Out of curisitory I ported the test program to the Cortex-A8 in AM3358 Starter Kit in the attached project (Please visit the site to view this file)

Using ARM compiler v5.1.3 set to an output format of "eabi (ELF)" when debugging the test program in CCS 5.5.0.00077 the address of the variables ADC0 to ADC3 were incorrectly resolved to the address of the enclosing main function (same problem as seen with the MSP430 program) as shown in the screen shot:

Changing the ARM compiler v5.1.3 to an output format of "legacy COFF" caused the CCS debugger to resolve the correct address of the ADC0 to ADC3 variables.

As SDSCM00049324 was raised against the MSP430 Code Generation Tools, should a new report be raised against the ARM Code Generation Tools?


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>