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 | 34f635b0c7ff5ebb93b4ccafa2753e577d34ec6f (patch) | |
tree | aefca76da0a080ba0d6fd2e64db7e4f862affb3c /gdb/ax-gdb.c | |
parent | 9bbbb8a7e30147a00f868577426ca9f2bf4295fb (diff) | |
download | gdb-34f635b0c7ff5ebb93b4ccafa2753e577d34ec6f.tar.gz |
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 291ac75d8e2..08ce7324dea 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 |