Changeset 1033 for trunk/org.modelica.mdt.debug.core/src/org/modelica
- Timestamp:
- 09/30/11 14:35:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/core/mi/command/CommandFactory.java
r982 r1033 291 291 */ 292 292 public MIDataEvaluateExpression createMIGetListItem(String expression, int index) { 293 return new MIDataEvaluateExpression(" listGet(" + expression + ", " + index + ")");293 return new MIDataEvaluateExpression("((long (*) (long)) listGet)(" + expression + ", " + index + ")"); 294 294 } 295 295 … … 311 311 */ 312 312 public MIDataEvaluateExpression createMIGetArrayElement(String expression, int index) { 313 return new MIDataEvaluateExpression(" arrayGet(" + expression + ", " + index + ")");313 return new MIDataEvaluateExpression("((long (*) (long)) arrayGet)(" + expression + ", " + index + ")"); 314 314 } 315 315
Note: See TracChangeset
for help on using the changeset viewer.