From 812c1785ab664d8cac6b5056ba381c9c9151160d Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Wed, 6 Aug 2003 20:18:33 +0000 Subject: [PATCH] Uncommented the 'sizeof' method of 'ICDIVariableObject'. --- debug/org.eclipse.cdt.debug.core/ChangeLog | 5 +++++ .../cdt/debug/core/cdi/model/ICDIVariableObject.java | 2 +- .../eclipse/cdt/debug/internal/core/model/CVariable.java | 8 ++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 0fe87957c69..ceaf5a330f9 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,8 @@ +2003-08-06 Mikhail Khodjaiants + Uncommented the 'sizeof' method of 'ICDIVariableObject'. + * ICDIVariableObject.java + * CVariable.java + 2003-08-06 Alain Magloire Move some of the methods in ICDIVariableObject. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java index 6796b3dd78a..3b03691caa4 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java @@ -50,5 +50,5 @@ public interface ICDIVariableObject extends ICDIObject { /** * @return */ - //int sizeof() throws CDIException; + int sizeof() throws CDIException; } diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java index 9e8f08dd1bf..97593229b68 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java @@ -151,6 +151,14 @@ public abstract class CVariable extends CDebugElement { return fException; } + + /* (non-Javadoc) + * @see org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject#sizeof() + */ + public int sizeof() throws CDIException + { + return 0; + } } class InternalVariable