MI: type prefixes for values

Vladimir Prus ghost@cs.msu.su
Mon Feb 20 08:11:00 GMT 2006


On Friday 17 February 2006 23:40, Jim Ingham wrote:
> And... since the varobj's only parse the expression once when the
> varobj is created, getting the current values of varobj's is much
> faster than doing -data-evaluate-expression.  Not a big deal if you
> are just printing one value.  But if you are trying to update all the
> local variables on every step, this can be significant.  People tend
> to be pretty sensitive to the speed of the "step" operation...

Hi Jim,

can you provide some concrete numbers? Specifically, is using varobj to get 
values of all local variables faster then a single -stack-list-locals, and if 
so, by how much?

Thanks,
Volodya



More information about the Gdb mailing list