1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 122010: Registers View is displayed even if supportsRegisters and supportsRegisterModification are disabled.

Fix for supportsRegisterModification.
This commit is contained in:
Mikhail Khodjaiants 2006-05-26 19:02:00 +00:00
parent 316f28e9c0
commit ebd2942d59
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-05-26 Mikhail Khodjaiants
Bug 122010: Registers View is displayed even if supportsRegisters and
supportsRegisterModification are disabled.
Fix for supportsRegisterModification.
* CRegister.java
2006-05-19 Mikhail Khodjaiants
Warning cleanup.
* CBreakpointManager.java

View file

@ -292,7 +292,7 @@ public class CRegister extends CVariable implements IRegister {
public boolean isEditable() throws DebugException {
ICDIRegister reg = getCDIRegister();
if ( reg != null ) {
if ( reg != null && reg.getTarget().getConfiguration().supportsRegisterModification() ) {
try {
return reg.isEditable();
}