[PATCH] btrace, testsuite: fix assembly source file selection
Pedro Alves
palves@redhat.com
Tue Jul 26 08:41:00 GMT 2016
On 07/26/2016 08:05 AM, Markus Metzger wrote:
> Some btrace tests use assembly source files. They use the target triplet to
> distinguish between x86_64 and ia32 ISA. This does not work for -m32 tests
> without setting the target triplet to i686-?-?.
>
> Instead use is_amd64_regs_target to distinguish between x86_64 and ia32 ISA.
>
> See also https://sourceware.org/ml/gdb-patches/2016-07/msg00256.html.
>
> 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
>
> testsuite/
> * gdb.btrace/record_goto.exp: Use is_amd64_regs_target for selecting
> assembly source files.
> * gdb.btrace/stepi.exp: Use is_amd64_regs_target for selecting
> assembly source files.
> * gdb.btrace/tailcall.exp: Use is_amd64_regs_target for selecting
> assembly source files.
> * gdb.btrace/tailcall-only.exp: Use is_amd64_regs_target for selecting
> assembly source files.
LGTM.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list