Remove two infrun cleanups
authorTom Tromey <tom@tromey.com>
Thu, 14 Jun 2018 23:01:24 +0000 (16:01 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 17 Sep 2018 06:42:18 +0000 (00:42 -0600)
commitc7c4d3fa80d2fef74fd4bd6b1e22c0399b19455f
treed42df5d986adb8a733883a1f1f66cbb159adf1b3
parentee841dd8fee73c355587533027aecc8983bd5478
Remove two infrun cleanups

This removes a couple of cleanups from infrun by introducing a couple
of unique_ptr specializations.

gdb/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* inferior.h (struct infcall_suspend_state_deleter): New.
(infcall_suspend_state_up): New typedef.
(struct infcall_control_state_deleter): New.
(infcall_control_state_up): New typedef.
(make_cleanup_restore_infcall_suspend_state)
(make_cleanup_restore_infcall_control_state): Don't declare.
* infcall.c (call_function_by_hand_dummy): Update.
* infrun.c (do_restore_infcall_suspend_state_cleanup)
(make_cleanup_restore_infcall_suspend_state): Remove.
(do_restore_infcall_control_state_cleanup)
(make_cleanup_restore_infcall_control_state): Remove.
gdb/ChangeLog
gdb/infcall.c
gdb/inferior.h
gdb/infrun.c
This page took 0.02495 seconds and 4 git commands to generate.