summaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2000-04-26 12:41:48 +0000
committerPhilippe De Muyter <phdm@macqel.be>2000-04-26 12:41:48 +0000
commitc17545f3613d9778097d922299dd4f08725bcdc8 (patch)
tree0f372329f0eb35772dc9df875d24fbd383df26ff /gdb/tracepoint.c
parent3526500f39485e4f89c0ce524a1d12fb93a8bb30 (diff)
downloadgdb-c17545f3613d9778097d922299dd4f08725bcdc8.tar.gz
* 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/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 95f79c19f30..58db9b36acf 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -977,8 +977,7 @@ validate_actionline (line, t)
/* else fall thru, treat p as an expression and parse it! */
}
exp = parse_exp_1 (&p, block_for_pc (t->address), 1);
- old_chain = make_cleanup ((make_cleanup_func) free_current_contents,
- &exp);
+ old_chain = make_cleanup (free_current_contents, &exp);
if (exp->elts[0].opcode == OP_VAR_VALUE)
{