aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-04-19 20:18:26 +0000
committerTom Tromey <tromey@redhat.com>2012-04-19 20:18:26 +0000
commit6328eb3805da75d26e17c13c7be09123d2ce9dc1 (patch)
tree1b36863d421aefc22d142bc37f917fb9e15a1434 /gdb/top.c
parentc971b7fa72c48b07e3199b76f8d79f3a71c65124 (diff)
downloadgdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.zip
gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.tar.gz
gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.tar.bz2
* top.c (quit_target): Use all_cleanups.
* main.c (captured_command_loop): Use all_cleanups. * exceptions.c (throw_exception): Use all_cleanups.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c4
1 files changed, 2 insertions, 2 deletions
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;
}