diff options
author | Philippe De Muyter <phdm@macqel.be> | 2000-04-26 12:41:48 +0000 |
---|---|---|
committer | Philippe De Muyter <phdm@macqel.be> | 2000-04-26 12:41:48 +0000 |
commit | c13c43fdda3d022918e2ab2211caf52643eab25a (patch) | |
tree | 8381200be9f4cb3fed65dade7481217f8fbfc86c /gdb/parse.c | |
parent | 4fd99b5a5d7043354dd66b991b273bb922fcfc57 (diff) | |
download | binutils-c13c43fdda3d022918e2ab2211caf52643eab25a.zip binutils-c13c43fdda3d022918e2ab2211caf52643eab25a.tar.gz binutils-c13c43fdda3d022918e2ab2211caf52643eab25a.tar.bz2 |
* ax-gdb.c (agent_command): Remove now useless cast of
`free_current_contents' when passed to `make_cleanup'.
* coffread.c (coff_symfile_read): Ditto.
* dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
(dwarf_decode_lines): Ditto.
* eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
(parse_and_eval, parse_to_comma_and_eval): Ditto.
* parse.c (parse_exp_1): Ditto.
* printcmd.c (print_command_1, output_command, set_command): Ditto.
(x_command, print_frame_args, printf_command): Ditto.
* top.c (execute_control_command): Ditto.
* tracepoint.c (validate_actionline): Ditto.
* typeprint.c (whatis_exp, ptype_command): Ditto.
(maintenance_print_type): Ditto.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 7a5db47..5997fae 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -1176,7 +1176,7 @@ parse_exp_1 (stringptr, block, comma) expout = (struct expression *) xmalloc (sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_size)); expout->language_defn = current_language; - make_cleanup ((make_cleanup_func) free_current_contents, &expout); + make_cleanup (free_current_contents, &expout); if (current_language->la_parser ()) current_language->la_error (NULL); |