This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] callfuncs.exp: Execute with and without prototypes
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Mark Kettenis <mark dot kettenis at xs4all dot nl>, dje at google dot com, sandra at codesourcery dot com
- Date: Tue, 4 Nov 2014 16:40:42 +0100
- Subject: [PATCH 0/3] callfuncs.exp: Execute with and without prototypes
- Authentication-results: sourceware.org; auth=none
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