Perform all tests in callfuncs.exp with and without C function prototypes
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 4 Nov 2014 12:55:30 +0000 (12:55 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 13 Nov 2014 09:20:40 +0000 (10:20 +0100)
commita5a0688714a7a7c224aa591b3c393cab24cc364b
tree7d792415392dcce4115b3c92382e0cbd3890bebe
parent44dba9b9cddaf92d520defc74d38f7d576c9426b
Perform all tests in callfuncs.exp with and without C function prototypes

In callfuncs.exp, compile callfuncs.c with and without C function
header prototypes and execute all tests after each compilation.

gdb/testsuite/ChangeLog:

* gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
logic into perform_all_tests() and invoke it with and without
function header prototypes.
(do_function_calls): Remove conditional XFAIL for PR 5318.
(rerun_and_prepare): Remove duplicate code.
(perform_all_tests): New.  Main logic moved here.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp