forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -638,7 +638,7 @@ coff_symfile_read (objfile, mainline)
|
||||
temp_sym = (char *) xmalloc
|
||||
(cdata->local_symesz + cdata->local_auxesz);
|
||||
temp_aux = temp_sym + cdata->local_symesz;
|
||||
back_to = make_cleanup ((make_cleanup_func) free_current_contents, &temp_sym);
|
||||
back_to = make_cleanup (free_current_contents, &temp_sym);
|
||||
|
||||
/* We need to know whether this is a PE file, because in PE files,
|
||||
unlike standard COFF files, symbol values are stored as offsets
|
||||
|
||||
Reference in New Issue
Block a user