]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
* c-exp.y (check_parameter_typelist): New function.
authorTom Tromey <tromey@redhat.com>
Mon, 9 Jul 2012 14:20:52 +0000 (14:20 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 9 Jul 2012 14:20:52 +0000 (14:20 +0000)
commite314d62968dfb4ae82c70dbe68d9d4ec929deb7e
treeb66865521e10da3ab58c11932c46a5715cf499af
parent1416057852c2649d2c3d0636b4e6007f3bc2d043
* c-exp.y (check_parameter_typelist): New function.
(parameter_typelist): Call it.
* eval.c (make_params): Handle '(void)' case.
* gdbtypes.c (lookup_function_type_with_arguments): Handle
'(void)' case.
testsuite
* gdb.base/whatis.exp: Add error checks for improper 'void' uses.
* gdb.base/callfuncs.exp: Add cast-based test.
* gdb.base/callfuncs.c (voidfunc): New function.
gdb/ChangeLog
gdb/c-exp.y
gdb/eval.c
gdb/gdbtypes.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.c
gdb/testsuite/gdb.base/callfuncs.exp
gdb/testsuite/gdb.base/whatis.exp