diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-15 06:15:27 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-15 06:15:27 +0000 |
commit | f23d52e0a54905bc88c1a5ea25168227356d6f37 (patch) | |
tree | 9b55315786830882293a4225641d0bbd44fecefc /gdb/ax-gdb.c | |
parent | 4d6140d95eace437441b17dd43a7b0a456d3803a (diff) | |
download | gdb-f23d52e0a54905bc88c1a5ea25168227356d6f37.zip gdb-f23d52e0a54905bc88c1a5ea25168227356d6f37.tar.gz gdb-f23d52e0a54905bc88c1a5ea25168227356d6f37.tar.bz2 |
Cleanup free_agent_expr cleanups.
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 291ac75..08ce732 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1798,7 +1798,7 @@ expr_to_agent (expr, value) struct agent_expr *ax = new_agent_expr (0); union exp_element *pc; - old_chain = make_cleanup ((make_cleanup_func) free_agent_expr, ax); + old_chain = make_cleanup_free_agent_expr (ax); pc = expr->elts; trace_kludge = 0; @@ -1854,7 +1854,7 @@ gen_trace_for_expr (scope, expr) union exp_element *pc; struct axs_value value; - old_chain = make_cleanup ((make_cleanup_func) free_agent_expr, ax); + old_chain = make_cleanup_free_agent_expr (ax); pc = expr->elts; trace_kludge = 1; @@ -1925,7 +1925,7 @@ agent_command (exp, from_tty) expr = parse_expression (exp); old_chain = make_cleanup (free_current_contents, &expr); agent = gen_trace_for_expr (fi->pc, expr); - make_cleanup ((make_cleanup_func) free_agent_expr, agent); + make_cleanup_free_agent_expr (agent); ax_print (gdb_stdout, agent); /* It would be nice to call ax_reqs here to gather some general info |