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:
parent
316f28e9c0
commit
ebd2942d59
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue