summaryrefslogtreecommitdiff
path: root/gdb/exceptions.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/exceptions.c
parentc971b7fa72c48b07e3199b76f8d79f3a71c65124 (diff)
downloadbinutils-gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.tar.gz
* 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/exceptions.c')
-rw-r--r--gdb/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 0dcad71d20b..7db9df9eb80 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -224,7 +224,7 @@ throw_exception (struct gdb_exception exception)
quit_flag = 0;
immediate_quit = 0;
- do_cleanups (ALL_CLEANUPS);
+ do_cleanups (all_cleanups ());
/* Jump to the containing catch_errors() call, communicating REASON
to that call via setjmp's return value. Note that REASON can't