gdb/testsuite/gdb.cp: Fix tests for ARM C++ ABI.
authorWill Newton <willnewton@sourceware.org>
Fri, 7 Jun 2013 08:47:09 +0000 (08:47 +0000)
committerWill Newton <willnewton@sourceware.org>
Fri, 7 Jun 2013 08:47:09 +0000 (08:47 +0000)
commitf4059ef3dea24d7ced46bcceddccff7b01af3ba9
tree1561e1c837c5910ff8d861120f9de7edd1670705
parentfe8400b4383bda9333b559255b63c2c659e9ad5f
gdb/testsuite/gdb.cp: Fix tests for ARM C++ ABI.

The ARM C++ ABI defines constructors and destructors to return
pointers to this. The C++ tests that check the types of constructors
and destructors expect a return type of void. Conditionalize these
tests so they pass on ARM.

gdb/testsuite/ChangeLog:

2013-06-07  Will Newton  <will.newton@linaro.org>

* gdb.cp/anon-struct.exp: Conditionalize constructor and
destructor prototypes for ARM ABI.
* gdb.cp/m-static.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/anon-struct.exp
gdb/testsuite/gdb.cp/m-static.exp