How to get raw data with MI when pretty printing is enabled ?

Tom Tromey tromey@redhat.com
Mon Jun 21 21:24:00 GMT 2010


>>>>> "Sébastien" == Sébastien Granjoux <seb.sfo@free.fr> writes:

Sébastien> -var-set-visualizer var2 None
Sébastien> ^done
Sébastien> (gdb)
Sébastien> -var-evaluate-expression var2
Sébastien> ^done,value="{...}"
Sébastien> (gdb)

Sébastien> I would expect value="0x9ae2c90" for the last command. Then, I have
Sébastien> use gdb version 7.0.50.20091001-cvs, perhaps it's working with the
Sébastien> latest one.

The test suite does a -var-update instead of -var-evaluate-expression.
Could you try that instead?

I'm not completely sure if the above is intended to work or not.
Please file a bug report, in case it is supposed to.

thanks,
Tom



More information about the Gdb mailing list