diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-09 14:20:52 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-09 14:20:52 +0000 |
commit | e314d62968dfb4ae82c70dbe68d9d4ec929deb7e (patch) | |
tree | b66865521e10da3ab58c11932c46a5715cf499af /gdb/ChangeLog | |
parent | 1416057852c2649d2c3d0636b4e6007f3bc2d043 (diff) | |
download | gdb-e314d62968dfb4ae82c70dbe68d9d4ec929deb7e.zip gdb-e314d62968dfb4ae82c70dbe68d9d4ec929deb7e.tar.gz gdb-e314d62968dfb4ae82c70dbe68d9d4ec929deb7e.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cab30f7..0d1c151 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2012-07-09 Tom Tromey <tromey@redhat.com> + + * 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. + 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com> * common/linux-ptrace.c: Include gdb_assert.h. |