Fix is_amd64_regs_target check in i386-avx512.exp
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 1 Oct 2018 16:02:57 +0000 (12:02 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 1 Oct 2018 16:02:57 +0000 (12:02 -0400)
commitff34e6ae3867a5686b53ce3b69584c1c3b553d7d
treebd83eadae08c5521eb48d04b303f3180c763633c
parent6bb8890e2ccf2b1ae7860fcb6fe4579c4aa9ebf6
Fix is_amd64_regs_target check in i386-avx512.exp

As reported by Jan here:

  https://sourceware.org/ml/gdb-patches/2018-09/msg00831.html

the check that sets the number of available registers is backwards.

gdb/testsuite/ChangeLog:

* gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
is_amd64_regs_target.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/i386-avx512.exp