Bug 153894 - [Bug/Patch] Variable View: Can not format 'short int' to Hex
Summary: [Bug/Patch] Variable View: Can not format 'short int' to Hex
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-08-15 09:19 EDT by James Blackburn CLA
Modified: 2008-06-19 13:59 EDT (History)
2 users (show)

See Also:


Attachments
Check for isInt (983 bytes, patch)
2006-08-15 09:20 EDT, James Blackburn CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2006-08-15 09:19:35 EDT
We have variables of type int16.  Eclipse doesn't recognise this, so correctly asks 'ptype int16'. The response is 'short int'.  This does not seem to be handled correctly in SourceManager.java:toCDIType as it is expected that all integer declarations to be explicitly signed/unsigned.  

The check is correct for 'long int'
Comment 1 James Blackburn CLA 2006-08-15 09:20:36 EDT
Created attachment 47905 [details]
Check for isInt
Comment 2 Nobody - feel free to take it CLA 2006-08-22 04:18:07 EDT
Released to the 3.1 and HEAD branches.
Comment 3 Nobody - feel free to take it CLA 2006-08-22 04:19:33 EDT
James, please verify.
Comment 4 James Blackburn CLA 2006-08-22 05:54:01 EDT
Looks good, cheers!
Comment 5 Doug Schaefer CLA 2008-06-03 14:37:14 EDT
assigning
Comment 6 Doug Schaefer CLA 2008-06-03 14:37:38 EDT
done