diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-24 09:56:49 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-06 16:04:31 -0700 |
commit | fe7b42e5843ef82f97959e0e18122c164449a8ea (patch) | |
tree | 9324d78cdb2e523c04fc6556882c21280606132f /libdecnumber/decContext.h | |
parent | c6321f19c5414c2a34db3cf5979834d081c32abd (diff) | |
download | gdb-fe7b42e5843ef82f97959e0e18122c164449a8ea.zip gdb-fe7b42e5843ef82f97959e0e18122c164449a8ea.tar.gz gdb-fe7b42e5843ef82f97959e0e18122c164449a8ea.tar.bz2 |
Remove basic cleanup code
This removes the basic cleanup code: make_cleanups, do_cleanups,
discard_cleanups, and friends. This code is no longer needed, as
nothing in gdb makes an ordinary cleanup. Final cleanups are still
needed.
2019-03-06 Tom Tromey <tom@tromey.com>
* top.c (quit_force): Update.
* main.c (captured_command_loop): Update.
* common/new-op.c (operator new): Update.
* common/common-exceptions.c (struct catcher)
<save_cleanup_chain>: Remove member.
(exceptions_state_mc_init): Update.
(exception_try_scope_entry): Return nullptr.
(exception_try_scope_exit, exception_rethrow)
(throw_exception_sjlj, throw_exception_cxx): Update.
* common/cleanups.h (make_cleanup, make_cleanup_dtor)
(all_cleanups, do_cleanups, discard_cleanups)
(discard_final_cleanups, save_cleanups, save_final_cleanups)
(restore_cleanups, restore_final_cleanups): Don't declare.
(do_final_cleanups): Remove parameter.
* common/cleanups.c (cleanup_chain, make_cleanup)
(make_cleanup_dtor, all_cleanups, do_cleanups)
(discard_my_cleanups, discard_cleanups)
(discard_final_cleanups, save_my_cleanups, save_cleanups)
(save_final_cleanups, restore_my_cleanups, restore_cleanups)
(null_cleanup): Remove.
(do_final_cleanups): Remove parameter.
Diffstat (limited to 'libdecnumber/decContext.h')
0 files changed, 0 insertions, 0 deletions