aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-15 05:54:02 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-15 05:54:02 +0000
commit4d6140d95eace437441b17dd43a7b0a456d3803a (patch)
tree6ebc416c9c0ea228f20b88c26221020dde972f3e /gdb/infcmd.c
parent3339cf8b68bc5b7f14a4d255daae2a06b8dd5d77 (diff)
downloadgdb-4d6140d95eace437441b17dd43a7b0a456d3803a.zip
gdb-4d6140d95eace437441b17dd43a7b0a456d3803a.tar.gz
gdb-4d6140d95eace437441b17dd43a7b0a456d3803a.tar.bz2
Cleanup delete_breakpoint cleanups.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 162b824..19f5260 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1194,9 +1194,9 @@ finish_command (arg, from_tty)
breakpoint = set_momentary_breakpoint (sal, frame, bp_finish);
if (!event_loop_p || !target_can_async_p ())
- old_chain = make_cleanup ((make_cleanup_func) delete_breakpoint, breakpoint);
+ old_chain = make_cleanup_delete_breakpoint (breakpoint);
else
- old_chain = make_exec_cleanup ((make_cleanup_func) delete_breakpoint, breakpoint);
+ old_chain = make_exec_cleanup_delete_breakpoint (breakpoint);
/* Find the function we will return from. */