Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313779 - LoggerBuf ROV view problem on MSP430
Summary: LoggerBuf ROV view problem on MSP430
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Rta (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris McCormick CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 13:19 EDT by Chris McCormick CLA
Modified: 2011-11-09 18:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris McCormick CLA 2010-05-20 13:19:32 EDT
The LoggerBuf ROV view was not properly displaying target strings that were part of event messages on the MSP430.

The xdc.rta.Formatter will look up strings at the address specified as an argument to a format string. If the argument has a negative value, the Formatter attempts to convert this to unsigned in order to treat it as an address. To do this, it was adding 2^32 to the value. This is the incorrect value to add for the MSP430 where the args and pointers are only 16-bits.

The Formatter needs to be initialized with the target size of an argument so that it can know what value to add to any negative numbers to make them unsigned.
Comment 1 Chris McCormick CLA 2010-08-24 17:24:42 EDT
Fixed in xdc-v34. The xdc.rta.Formatter now uses the target arg size when converting negative values to addresses.
Comment 2 Dave Russo CLA 2011-11-09 18:55:48 EST
closing "ancient" resolved bugs