From 4d6140d95eace437441b17dd43a7b0a456d3803a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 15 May 2000 05:54:02 +0000 Subject: Cleanup delete_breakpoint cleanups. --- gdb/infcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/infcmd.c') 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. */ -- cgit v1.1