Tweak gdb.cp tests for aarch32
authorYao Qi <yao.qi@linaro.org>
Mon, 1 Aug 2016 08:18:02 +0000 (09:18 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 1 Aug 2016 08:32:06 +0000 (09:32 +0100)
commite3465b24a22bd1f783313e680aa76bac83c8aaf5
tree57d8b5844203c8bdfdf5c7c6d244426a8560c388
parent5e3d6ca4de0d34b32179db62a27efbd2ae420cf9
Tweak gdb.cp tests for aarch32

There are some gdb.cp/ tests fails if the program is compiled for arm
32-bit but GDB/GDBserver is aarch64 64-bit program, because target triplet
doesn't match "arm*-*-*".  Instead, we can use is_aarch32_target.

gdb/testsuite:

2016-08-01  Yao Qi  <yao.qi@linaro.org>

* gdb.cp/anon-struct.exp: Check is_aarch32_target.
* gdb.cp/cpexprs.exp: Likewise.
* gdb.cp/m-static.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/anon-struct.exp
gdb/testsuite/gdb.cp/cpexprs.exp
gdb/testsuite/gdb.cp/m-static.exp