Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] [dsf-gdb] ExprMetaGetVarInfo


I am looking at ExprMetaGetVarInfo and wondering whether this class is useful.

Let's look at getGDBType method. The value it returns is specified when ExprMetaGetVarInfo
is constructed in MIVariableManager.queueCommand. Then it's used in a single place,
MIExpressions.getExpressionData and discarded.

So this design:
- introduces a new bag-of-data class, adding complexity
- prevents one MI component, MIExpressions, from accessing additional data from MIVariableObject,
  also MI component

Would it be sensible to eventually eliminate ExprMetaGetVarInfo (and possibly related

Vladimir Prus
CodeSourcery / Mentor Graphics

Back to the top