This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] [testsuite patch] Fix gdb.btrace/tailcall-only.exp errors on x86_64-m32
On 07/20/2016 03:26 PM, Metzger, Markus T wrote:
>> From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
>> On Wed, 20 Jul 2016 16:02:20 +0200, Pedro Alves wrote:
>>> But, multilib-style testing with --target_board=unix\{-m64,-m32\} etc.
>>> should work _too_, IMO.
>>
>> Checked in:
>> 7674d381b47f9f2411c0ca1da0c152940dc0d7bd
>
> Would this also work for x32?
Not sure this particular commit, but AFAIK, there's no target
triplet for x32, even. Presumably people run x32 testing
with --target_board=unix/-mx32. I'm on Fedora so can't test it, myself.
So using is_lp64_target / is_amd64_regs_target / is_x86_like_target etc.
checks is really the only way to make a testcase detect it's targeting
x32, and adjust itself, skip, etc..
Thanks,
Pedro Alves