This is the mail archive of the gdb@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: tracing variables - is it ok?


On Friday 01 June 2007 13:13, Bogdan Slusarczyk wrote:
> Vladimir Prus pisze:
> > This seems weird. Can you also print 'a' right after creating varobj,
> > and right after -var-update, to make sure it's the problem with
> > variable objects, and not with something else. Please do this test with
> > gdb 6.6, or better yet, with CVS version.
> I did -var-evaluate-expression just after creating varobj and I got 
> proper value (testA, a=10 ). After -var-update (in testB) value is not 
> changed. I did this test with gdb  6.6.

Please do "print a". The -var-evaluate-expression won't show changed
value if -var-update did not mention a given variable object.

- Volodya


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