Fix calls in gdb.arch/thumb2-it.exp
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 6 Sep 2017 16:54:26 +0000 (17:54 +0100)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 6 Sep 2017 16:54:26 +0000 (17:54 +0100)
commit8f8f815255bf36800cdfff93fd88a62aaa39ce16
treedd2ae8d85c57890dcc5b44db7de5472b5d6baf4a
parent28ad437d7af2fe5bf83dafb4e733978d0b142edb
Fix calls in gdb.arch/thumb2-it.exp

Tests in gdb.arch/thumb2-it.exp call functions defined in assembly
without type debugging information. Since
7022349d5c86bae74b49225515f42d2e221bd368 ("Stop assuming no-debug-info
functions return int") this triggers an error which leads to many tests
to FAIL. This patch cast the call to indicate the return type of the
functions when calling them.

2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gdb/testsuite/
* gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/thumb2-it.exp