mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
[248691] - fixed bug in details evaluation for items of big array, applied patch send by Michael Luber
This commit is contained in:
parent
38fae876ab
commit
19af0eaeeb
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ public abstract class Variable extends VariableDescriptor implements ICDIVariabl
|
||||||
} else if (t instanceof ICDIArrayType) {
|
} else if (t instanceof ICDIArrayType) {
|
||||||
// For Array gdb varobj only return the index, override here.
|
// For Array gdb varobj only return the index, override here.
|
||||||
int index = castingIndex + i;
|
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$
|
childName = getName() + "[" + index + "]"; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
} else if (t instanceof ICDIPointerType) {
|
} else if (t instanceof ICDIPointerType) {
|
||||||
ICDIType subType = ((ICDIPointerType) t).getComponentType();
|
ICDIType subType = ((ICDIPointerType) t).getComponentType();
|
||||||
|
|
Loading…
Add table
Reference in a new issue