From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: "Nick Roberts" <nickrob@snap.net.nz>, <gdb-patches@sourceware.org>
Subject: RE: [Patch] -var-evaluate-expression NAME [FORMAT]
Date: Mon, 04 Feb 2008 17:00:00 -0000 [thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290E85@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <20080203214530.GB12139@caradoc.them.org>
> > Here is the revised patch.
My patch no longer works with the patch Vladimir applied
http://sourceware.org/ml/gdb/2008-02/msg00006.html
The reason is that Vladimir's patch has c_value_of_variable()
always use the stored print_value which is formatted based on the
current display format (and not the one specified as an option
to -var-evaluate-expression.) I think that is a good way to do it.
One solution is to revert c_value_of_variable:
- return xstrdup (var->print_value);
+ return value_get_print_value (var->value, var->format);
Although this is very easy, personally, I don't like that too much.
Another option is to not only temporarily set var->format
but also var->print_value (by calling varobj_set
I think a solution based on
http://sourceware.org/ml/gdb-patches/2008-01/msg00531.html
>
> This looks fine. All it needs, to be checked in, is a ChangeLog
> entry. Could you give that a try?
I updated gdb/ChangeLog, gdb/testsuite/ChangeLog and gdb/doc/ChangeLog
> As for how it gets checked in, I can take care of that; or if you
> would like write-after-approval access to the repository, please fill
> out the form from the front page of sourceware.org and list me as
> approving it.
Thanks! I filled the form. I gather you should get it soon.
>
> Except for one small problem :-( We seem to have skipped a step. Do
> you have a copyright assignment in place? I can't find a record of
> it.
next prev parent reply other threads:[~2008-02-04 17:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 20:38 Marc Khouzam
2008-01-23 3:04 ` Nick Roberts
2008-01-23 14:30 ` Marc Khouzam
2008-01-23 14:42 ` Daniel Jacobowitz
2008-01-23 17:04 ` Marc Khouzam
2008-01-23 22:09 ` Nick Roberts
2008-01-24 21:36 ` Marc Khouzam
2008-01-25 9:59 ` Eli Zaretskii
2008-01-29 21:45 ` Daniel Jacobowitz
2008-02-01 19:23 ` Marc Khouzam
2008-02-02 10:31 ` Eli Zaretskii
2008-02-03 19:43 ` Marc Khouzam
2008-02-03 20:01 ` Eli Zaretskii
2008-02-04 14:17 ` Marc Khouzam
2008-02-04 21:00 ` Eli Zaretskii
2008-02-02 11:20 ` Vladimir Prus
2008-02-03 19:55 ` Marc Khouzam
2008-02-03 20:42 ` Joel Brobecker
2008-02-03 21:41 ` Daniel Jacobowitz
2008-02-03 21:46 ` Daniel Jacobowitz
2008-02-04 17:00 ` Marc Khouzam [this message]
2008-02-04 17:02 ` Marc Khouzam
2008-02-04 21:40 ` Nick Roberts
2008-02-04 21:53 ` Nick Roberts
2008-02-05 14:47 ` Marc Khouzam
2008-02-05 20:43 ` Nick Roberts
2008-02-05 20:55 ` Marc Khouzam
2008-02-05 21:18 ` Nick Roberts
2008-02-04 17:11 ` Marc Khouzam
2008-01-23 3:48 ` Daniel Jacobowitz
2008-01-23 14:44 ` Marc Khouzam
2008-01-28 14:41 Marc Khouzam
2008-01-28 14:48 ` Daniel Jacobowitz
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=6D19CA8D71C89C43A057926FE0D4ADAA04290E85@ecamlmw720.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=nickrob@snap.net.nz \
/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