From: Will Newton <will.newton@linaro.org>
To: "Jose E. Marchesi" <jose.marchesi@oracle.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] testsuite: skip morestack.exp in sparc targets
Date: Wed, 09 Oct 2013 12:58:00 -0000 [thread overview]
Message-ID: <CANu=DmjozcmT62CJ4EQUB3FULOCp-eORkFW6VWVGdJGOrfTOxA@mail.gmail.com> (raw)
In-Reply-To: <87d2nebocs.fsf@oracle.com>
On 9 October 2013 13:49, Jose E. Marchesi <jose.marchesi@oracle.com> wrote:
>
> 2013-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * gdb.base/morestack.exp: Skip test in sparc targets, where
> -fsplit-stack is not supported.
>
> Index: testsuite/gdb.base/morestack.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/morestack.exp,v
> retrieving revision 1.5
> diff -u -r1.5 morestack.exp
> --- testsuite/gdb.base/morestack.exp 27 Jun 2013 18:51:31 -0000 1.5
> +++ testsuite/gdb.base/morestack.exp 9 Oct 2013 12:43:55 -0000
> @@ -13,6 +13,12 @@
> # You should have received a copy of the GNU General Public License
> # along with this program. If not, see <http://www.gnu.org/licenses/>.
>
> +# This test does not work on targets for which -fsplit-stack is not
> +# supported.
> +if { [istarget sparc*-*-linux-gnu] } {
> + return
> +}
> +
> if [get_compiler_info] {
> return -1
> }
It might be simpler just to enable for the targets that do support
-fsplit-stack:
if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
return
}
--
Will Newton
Toolchain Working Group, Linaro
next prev parent reply other threads:[~2013-10-09 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 12:48 Jose E. Marchesi
2013-10-09 12:58 ` Will Newton [this message]
2013-10-09 13:03 ` Jose E. Marchesi
2013-10-10 18:31 ` Tom Tromey
2013-10-14 10:57 ` Jose E. Marchesi
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='CANu=DmjozcmT62CJ4EQUB3FULOCp-eORkFW6VWVGdJGOrfTOxA@mail.gmail.com' \
--to=will.newton@linaro.org \
--cc=gdb-patches@sourceware.org \
--cc=jose.marchesi@oracle.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