From: Doug Evans <dje@google.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Hilfinger@adacore.com, gdb-patches@sourceware.org
Subject: Re: [RFA] Add testcase for locals identified with FUNCTION::VAR syntax.
Date: Wed, 28 Dec 2011 18:02:00 -0000 [thread overview]
Message-ID: <CADPb22Q4fQXybw=TT+tm532K0kiFJS_Mz8s-9c=Ox0rR2kPBvQ@mail.gmail.com> (raw)
In-Reply-To: <20111228035045.GK23376@adacore.com>
On Tue, Dec 27, 2011 at 7:50 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> Do you know where these are defined? And are there any other such
> useful globals that we can use? I need to document them in the
> testing cookbook, because I keep looking for them, and then
> eventually redefine them over and over again...
[Paul already replied, but yeah, /usr/share/dejagnu/runtest.exp.]
> Thanks!
>
>> I notice scope.exp has similar tests.
>> Would it make sense to move this there?
>
> Personally, I think it's fine to have a small self-contained
> testcase that deals mostly with scoping vs recursion. I actually
> like it better that way, but I know people may prefer it the other
> way. My opinion for liking smaller testcases is that it's usually
> easier to reproduce the problem: You don't have to sort through
> a lot of unrelated stuff that happens before the problem occurs.
I don't have a strong preference.
I mostly just wanted to raise the issue.
The patch is fine with me.
[I'd feel uncomfortable with forcing someone to hack on scope* before
cleaning it up anyway. :-)]
next prev parent reply other threads:[~2011-12-28 17:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-27 21:25 Paul Hilfinger
2011-12-28 1:38 ` Doug Evans
2011-12-28 3:43 ` Paul Hilfinger
2011-12-28 4:04 ` Joel Brobecker
2011-12-28 15:57 ` Paul Hilfinger
2011-12-29 11:10 ` Joel Brobecker
2011-12-28 18:02 ` Doug Evans [this message]
2011-12-30 22:27 Paul Hilfinger
2011-12-31 7:05 ` Joel Brobecker
2011-12-31 15:12 ` Paul Hilfinger
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='CADPb22Q4fQXybw=TT+tm532K0kiFJS_Mz8s-9c=Ox0rR2kPBvQ@mail.gmail.com' \
--to=dje@google.com \
--cc=Hilfinger@adacore.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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