Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Sébastien Granjoux" <seb.sfo@free.fr>
Cc: "Sébastien Granjoux" <sebastien.granjoux@free.fr>, gdb@sourceware.org
Subject: Re: How to get raw data with MI when pretty printing is enabled ?
Date: Mon, 21 Jun 2010 21:24:00 -0000	[thread overview]
Message-ID: <m34ogwgjty.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C1FC91F.4000002@free.fr> (=?utf-8?Q?=22S=C3=A9bastien?= Granjoux"'s message of	"Mon, 21 Jun 2010 22:18:39 +0200")

>>>>> "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


  reply	other threads:[~2010-06-21 21:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-19  8:32 Sébastien Granjoux
2010-06-19  8:44 ` asmwarrior
2010-06-21 20:03 ` Tom Tromey
2010-06-21 20:18   ` Sébastien Granjoux
2010-06-21 21:24     ` Tom Tromey [this message]
2010-06-22 19:14       ` Sébastien Granjoux
2010-06-22  6:40   ` -var-set-visualizer to dynamically switch pretty print on and off? Elmenthaler, Jens
2010-06-22 15:42     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34ogwgjty.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=seb.sfo@free.fr \
    --cc=sebastien.granjoux@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox