[binutils-gdb] Remove two infrun cleanups
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Tue Sep 18 02:33:00 GMT 2018
*** TEST RESULTS FOR COMMIT c7c4d3fa80d2fef74fd4bd6b1e22c0399b19455f ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c7c4d3fa80d2fef74fd4bd6b1e22c0399b19455f
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.
More information about the Gdb-testers
mailing list