diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-15 11:48:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-15 11:48:50 +0000 |
commit | 47cf603ed45d09dceda47b6da42a1d88a141ad82 (patch) | |
tree | e0123e6c4917f0538ac93cfcc7b89c0c62d83da9 /gdb/mi/mi-main.c | |
parent | 4f0aafb38abea1590b4a720c5ef1516cf25289b4 (diff) | |
download | gdb-47cf603ed45d09dceda47b6da42a1d88a141ad82.zip gdb-47cf603ed45d09dceda47b6da42a1d88a141ad82.tar.gz gdb-47cf603ed45d09dceda47b6da42a1d88a141ad82.tar.bz2 |
Cleanup cleanups - delete use of make_cleanup_func as cast.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 3153da7..22745a0 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -640,7 +640,7 @@ mi_cmd_data_assign (char *command, char **argv, int argc) 01-12-1999: Need to decide what to do with this for libgdb purposes. */ expr = parse_expression (argv[0]); - old_chain = make_cleanup ((make_cleanup_func) free_current_contents, &expr); + old_chain = make_cleanup (free_current_contents, &expr); evaluate_expression (expr); do_cleanups (old_chain); return MI_CMD_DONE; @@ -669,7 +669,7 @@ mi_cmd_data_evaluate_expression (char *command, char **argv, int argc) expr = parse_expression (argv[0]); - old_chain = make_cleanup ((make_cleanup_func) free_current_contents, &expr); + old_chain = make_cleanup (free_current_contents, &expr); val = evaluate_expression (expr); |