This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/3] callfuncs.exp: Execute with and without prototypes


We've seen that GCC's switch of the default C language standard to
GNU11 leads to many diagnostics in the GDB test suite.  Thus I've
posted a patch series for fixing them:

  https://sourceware.org/ml/gdb-patches/2014-10/msg00802.html

Among other changes, the series eliminates all #ifdef PROTOTYPES
conditionals as well as the associated old-style function header
variants.  Obviously this may reduce the test coverage of GDB's
support for old-style C code.  Thus it was suggested to leave *some*
old-style code intact.  One candidate is the 'callfuncs' test case,
which may even make sense to test with both variants.  See:

  https://sourceware.org/ml/gdb-patches/2014-11/msg00035.html

This small series performs the suggested change to callfuncs.exp.


Andreas Arnez (3):
  'callfuncs' test case: Fixes in conditionally compiled code
  Perform all tests in callfuncs.exp with and without C function
    prototypes
  callfuncs.exp: Indent perform_all_tests()

 gdb/testsuite/gdb.base/callfuncs.c   |  20 +--
 gdb/testsuite/gdb.base/callfuncs.exp | 323 ++++++++++++++++-------------------
 2 files changed, 153 insertions(+), 190 deletions(-)

-- 
1.8.4.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]