Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlena Laskavaia2008-10-22 16:33:31 +0000
committerAlena Laskavaia2008-10-22 16:33:31 +0000
commit19af0eaeeb54fb8e1d3f959dcfac4d4d3c858bd9 (patch)
treeed9dd03b7c2169b6c1c161e5b2543b91525b3011 /debug
parent38fae876ab1ce4bb9771079ab5b26d8d51bf49c3 (diff)
downloadorg.eclipse.cdt-19af0eaeeb54fb8e1d3f959dcfac4d4d3c858bd9.tar.gz
org.eclipse.cdt-19af0eaeeb54fb8e1d3f959dcfac4d4d3c858bd9.tar.xz
org.eclipse.cdt-19af0eaeeb54fb8e1d3f959dcfac4d4d3c858bd9.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 3f650ccf8b2..5188e17e759 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