diff options
author | Alena Laskavaia | 2008-10-22 16:33:31 +0000 |
---|---|---|
committer | Alena Laskavaia | 2008-10-22 16:33:31 +0000 |
commit | 19af0eaeeb54fb8e1d3f959dcfac4d4d3c858bd9 (patch) | |
tree | ed9dd03b7c2169b6c1c161e5b2543b91525b3011 /debug | |
parent | 38fae876ab1ce4bb9771079ab5b26d8d51bf49c3 (diff) | |
download | org.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.java | 2 |
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(); |