From: Tom Tromey <tromey@redhat.com>
To: Siva Chandra <sivachandra@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC - Python Scripting] New method Value.referenced_value to dereference pointer as well as reference values (with docs)
Date: Wed, 14 Mar 2012 15:48:00 -0000 [thread overview]
Message-ID: <871uovdvzf.fsf@fleche.redhat.com> (raw)
In-Reply-To: <CAGyQ6gyJAw37dBWZHidvoVdGDhL83uD3bsNKyH5-jG2o_qEysw@mail.gmail.com> (Siva Chandra's message of "Tue, 13 Mar 2012 17:23:54 +0530")
>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:
Siva> I could not think of a better name than 'referenced_value' for this
Siva> method.
Seems reasonable to me.
Siva> About using prepare_for_testing, I notice that compilation fails with
Siva> this as gcc is being used to compile the test case and not g++. So, I
Siva> have not changed the exp file in this patch.
You can do it by passing the "c++" option, e.g. from dispcxx.exp:
if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
The code bits are ok with this fixed.
Tom
next prev parent reply other threads:[~2012-03-14 15:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-13 11:54 Siva Chandra
2012-03-13 19:11 ` Eli Zaretskii
2012-03-14 10:28 ` Siva Chandra
2012-03-14 17:52 ` Eli Zaretskii
2012-03-14 18:07 ` Siva Chandra
2012-03-15 20:51 ` Tom Tromey
2012-03-22 9:12 ` Siva Chandra
2012-03-14 15:48 ` Tom Tromey [this message]
2012-03-14 17:26 ` Siva Chandra
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=871uovdvzf.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=sivachandra@google.com \
/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