This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]