[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] patch for 80716- Global arrays show only the first element in the Variable View
|
Hi,
During the last 6 months we at Texas Instruments were developing product
based on CDT. During that period we were making fixed, enhancement and
changes in CDT that would like to share with the rest of the community.
Since our beta product is out we have more time to start submitting the
patches and enhancements we looked at. Also I would like to share ours
customer suggestions and enter them as enhancements.
I'll start with filing "80716 - Global arrays show only the first
element in the Variable View" and adding a patch for it.
I would also like to create a test case for that bug.
Any pointers where and how to add a test case for that one?
Thanks
Dobrin Alexiev
Texas Instruments
cvs diff CGlobalVariable.java (in directory C:\latestEclipse\CDT_2_0_2\org.eclipse.cdt-debug\org.eclipse.cdt.debug.core\src\org\eclipse\cdt\debug\internal\core\model\)
cvs diff: Empty password used - try 'cvs login' with a real password
Index: CGlobalVariable.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt-debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CGlobalVariable.java,v
retrieving revision 1.7
diff -r1.7 CGlobalVariable.java
70c70
< fValue = CValueFactory.createArrayValue( this, var, 0, dims.length - 1 );
---
> fValue = CValueFactory.createArrayValue( this, var, 0, dims[0]-1 );
***** CVS exited normally with code 1 *****