Re: [PATCH] MI: Add value field to output of -var-create

Vladimir Prus
2007-01-04T20:20:51Z

Nick Roberts wrote:

>
> This patch just adds the value field to the output of var-create so that
> the frontend doesn't need to issue another command to find out what it
> is.
>
> If approved, I'll change the tests and documentation accordingly.

I think this is a good change in general. However, the problem is that
a lot of tests hardcode the output from -var-create, and are broken with
this change. I think that instead of adding more hardcoding, we'd
need to replace all creation of varobjs with calls to mi_create_varobj.
Would you be willing to do that?

- Volodya