This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: skip morestack.exp in sparc targets
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: Will Newton <will dot newton at linaro dot org>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 09 Oct 2013 15:05:05 +0200
- Subject: Re: [PATCH] testsuite: skip morestack.exp in sparc targets
- Authentication-results: sourceware.org; auth=none
- References: <87d2nebocs dot fsf at oracle dot com> <CANu=DmjozcmT62CJ4EQUB3FULOCp-eORkFW6VWVGdJGOrfTOxA at mail dot gmail dot com>
> +# 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
}
Yes, much better. I wasn't sure about other archs :)
Could someone apply this change?