This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to get raw data with MI when pretty printing is enabled ?
- From: Tom Tromey <tromey at redhat dot com>
- To: SÃbastien Granjoux <seb dot sfo at free dot fr>
- Cc: SÃbastien Granjoux <sebastien dot granjoux at free dot fr>, gdb at sourceware dot org
- Date: Mon, 21 Jun 2010 15:24:41 -0600
- Subject: Re: How to get raw data with MI when pretty printing is enabled ?
- References: <4C1C8088.90902@free.fr> <m3y6e8gnkw.fsf@fleche.redhat.com> <4C1FC91F.4000002@free.fr>
- Reply-to: tromey at redhat dot com
>>>>> "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