1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00

Fix for bug 80034: Expressions view does not display correct no. of elements in array.

This commit is contained in:
Mikhail Khodjaiants 2004-12-02 21:49:56 +00:00
parent 15c37f6a0a
commit cf4ba671c8
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-12-01 Mikhail Khodjaiants
Fix for bug 80034: Expressions view does not display correct no. of elements in array.
* CValueFactory.java
2004-12-01 Mikhail Khodjaiants 2004-12-01 Mikhail Khodjaiants
Fix for bug 79454: Unable to remove a breakpoint set from the gdb console. Fix for bug 79454: Unable to remove a breakpoint set from the gdb console.
* CBreakpointManager.java * CBreakpointManager.java

View file

@ -28,7 +28,7 @@ public class CValueFactory {
} }
static public CIndexedValue createIndexedValue( AbstractCVariable parent, ICDIArrayValue cdiValue, int start, int end ) { static public CIndexedValue createIndexedValue( AbstractCVariable parent, ICDIArrayValue cdiValue, int start, int end ) {
return new CIndexedValue( parent, cdiValue, start, end - start ); return new CIndexedValue( parent, cdiValue, start, end - start + 1 );
} }
static public CValue createGlobalValue( CVariable parent, ICDIValue cdiValue ) { static public CValue createGlobalValue( CVariable parent, ICDIValue cdiValue ) {