From 6328eb3805da75d26e17c13c7be09123d2ce9dc1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 19 Apr 2012 20:18:26 +0000 Subject: * top.c (quit_target): Use all_cleanups. * main.c (captured_command_loop): Use all_cleanups. * exceptions.c (throw_exception): Use all_cleanups. --- gdb/top.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 55e4504..a138480 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1297,8 +1297,8 @@ quit_target (void *arg) if (write_history_p && history_filename) write_history (history_filename); - do_final_cleanups (ALL_CLEANUPS); /* Do any final cleanups before - exiting. */ + do_final_cleanups (all_cleanups ()); /* Do any final cleanups before + exiting. */ return 0; } -- cgit v1.1