On 01 Dec 2009, at 11:53, Paul Ishenin wrote:

Jonas Maebe wrote:

DWARF does, but GDB doesn't support it yet.

We only need to disctinct Variant and TVarData. So when user want to watch Variable variable we will perform TVarData() cast and show the value ourself. When TVarData is used we will show as TVarData (iow, as record).

Would it be enough if the type name were changed to "variant"? It would not be 100% safe (since "variant" is not a reserved word, anyone can declare a variable/type/... with the name "variant"), but I don't immediately see another solution.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to