This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gdb 6.7.1/6.8] does '-var-create - @' work or not?
Daniel Jacobowitz wrote:
> On Thu, Apr 03, 2008 at 03:19:55PM +0200, Bogdan Slusarczyk wrote:
>> I thought that created var objects using '-var-create - @' can be updated
>> in another frame. But it doesn't work, -var-evaluate-expression returns
>> wrong value. On the other hand 'print' returns right values. Or maybe I
>> did something wrong? My sequence: -var-create at the begining, and next
>> -var-update and -var-evaluate-expression in another frames.
>
> Please add some additional details: what version of GDB is this,
> and what were the exact commands and output in the MI session?
Right, in general MI bug report should include the *exact* sequence
of commands.
In this case, this looks very much like the bug that Nick has already
reported. Nick has also posted a proposed patch, which I haven't reviewed
yet, though.
- Volodya