Bug 122010 - Registers View is displayed even if supportsRegisters and supportsRegisterModification are disabled
Summary: Registers View is displayed even if supportsRegisters and supportsRegisterMod...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 10:16 EST by Roman Levenstein CLA
Modified: 2020-09-04 15:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Levenstein CLA 2005-12-23 10:16:47 EST
One of the things, that we would like to avoid, is that customers see any processor specific information  in CDT. For example, they should not see register
values. The reason for that is that we will probably change the  processor family used on our boards and we do not want  the customers to base their solutions on any  processor-specific information. There are also some security consideration.

Anyway, I tried to disable these features in my  plugin. For registers view, I tried to define my own TargetConfiguration subclass and there I defined  supportsRegisters() and supportsRegisterModification() to return false. But it seems to me that these flags  are not taken into account by CDT. Therefore, I can
still see the values of registers in the registers pane.  

I think this is a bug and Mikhail Khodjaiants confirmed it.
Comment 1 Nobody - feel free to take it CLA 2006-05-26 14:59:42 EDT
Fix for "supportsRegisterModification" submitted.
As for "supportsRegisters" the UI-related API has to be changed to affect the register groups actions.