From: Joel Brobecker <brobecker@adacore.com>
To: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Testsuite: permit simple transformation of gdb_expect code
Date: Wed, 02 Jun 2010 21:29:00 -0000 [thread overview]
Message-ID: <20100602212929.GX3019@adacore.com> (raw)
In-Reply-To: <000001cb0250$e4034590$ac09d0b0$@muller@ics-cnrs.unistra.fr>
> I would like to insert a no-op change to lib/gdb.exp that allows
> easily to write a transformation function (that can be inside the
> target board file). The idea is to simply add a global variable
> named `transform_gdb_expect_code' that defaults to empty.
No objection from my end in principle; I guess there is no way to
make that decision automatic? In AdaCore's testsuite, we get
the version information in GDB and determine from there the host
and target, and that allows to whether or not certain features
are available, etc.
In terms of implementation, rather than having an empty global,
perhaps it'd be just as simple to test its existence? Just thinking
out loud...
--
Joel
next prev parent reply other threads:[~2010-06-02 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 12:41 Pierre Muller
2010-06-02 21:29 ` Joel Brobecker [this message]
2010-06-03 6:40 ` Pierre Muller
[not found] ` <14482.3657036342$1275547225@news.gmane.org>
2010-06-03 15:40 ` Tom Tromey
2010-06-04 7:35 ` Pierre Muller
[not found] ` <12215.5377561741$1275636939@news.gmane.org>
2010-06-04 16:48 ` 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=20100602212929.GX3019@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=pierre.muller@ics-cnrs.unistra.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