Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlena Laskavaia2008-10-22 12:34:44 -0400
committerAlena Laskavaia2008-10-22 12:34:44 -0400
commit9536d0cdf967ba6d114569825d0bb65a65f20a98 (patch)
tree41f33660bf64f91927510cdd3192b3f49e6d12ff /debug
parent64b1ad28766d0a254ab2956676ce103588877ef2 (diff)
downloadorg.eclipse.cdt-9536d0cdf967ba6d114569825d0bb65a65f20a98.tar.gz
org.eclipse.cdt-9536d0cdf967ba6d114569825d0bb65a65f20a98.tar.xz
org.eclipse.cdt-9536d0cdf967ba6d114569825d0bb65a65f20a98.zip
[248691] - fixed bug in details evaluation for items of big array, applied patch send by Michael Luber
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
index fd09dee99d..c4130806da 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
@@ -256,7 +256,7 @@ public abstract class Variable extends VariableDescriptor implements ICDIVariabl
} else if (t instanceof ICDIArrayType) {
// For Array gdb varobj only return the index, override here.
int index = castingIndex + i;
- fn = "(" + fn + ")[" + index + "]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ fn = "(" + fn + ")[" + i + "]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
childName = getName() + "[" + index + "]"; //$NON-NLS-1$ //$NON-NLS-2$
} else if (t instanceof ICDIPointerType) {
ICDIType subType = ((ICDIPointerType) t).getComponentType();

Back to the top