diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-29 22:07:37 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-03 05:33:45 -0600 |
commit | b95de2b7aeb30081345954cb15970a582b49a866 (patch) | |
tree | b562ca7cca16ad171cf074074b89e11311970216 /gdb/ChangeLog | |
parent | 070365117b5727394e271399c5738a27bf9716d5 (diff) | |
download | gdb-b95de2b7aeb30081345954cb15970a582b49a866.zip gdb-b95de2b7aeb30081345954cb15970a582b49a866.tar.gz gdb-b95de2b7aeb30081345954cb15970a582b49a866.tar.bz2 |
Remove set_batch_flag_and_make_cleanup_restore_page_info
This removes set_batch_flag_and_make_cleanup_restore_page_info and
make_cleanup_restore_page_info in favor of a new RAII class. This
then allows for the removal of make_cleanup_restore_uinteger and
make_cleanup_restore_integer
ChangeLog
2017-10-03 Tom Tromey <tom@tromey.com>
* guile/scm-ports.c (ioscm_with_output_to_port_worker): Update.
* top.c (execute_command_to_string): Update.
* utils.c (make_cleanup_restore_page_info): Remove.
(do_restore_page_info_cleanup): Remove.
(set_batch_flag_and_restore_page_info):
New.
(make_cleanup_restore_page_info): Remove.
(set_batch_flag_and_make_cleanup_restore_page_info): Remove.
(~set_batch_flag_and_restore_page_info): New
(make_cleanup_restore_uinteger): Remove.
(make_cleanup_restore_integer): Remove.
(struct restore_integer_closure): Remove.
(restore_integer): Remove.
* utils.h (struct set_batch_flag_and_restore_page_info): New
class.
(set_batch_flag_and_make_cleanup_restore_page_info): Remove.
(make_cleanup_restore_page_info): Remove.
(make_cleanup_restore_uinteger) Remove.
(make_cleanup_restore_integer) Remove.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2415a07..57fd038 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,27 @@ 2017-10-03 Tom Tromey <tom@tromey.com> + * guile/scm-ports.c (ioscm_with_output_to_port_worker): Update. + * top.c (execute_command_to_string): Update. + * utils.c (make_cleanup_restore_page_info): Remove. + (do_restore_page_info_cleanup): Remove. + (set_batch_flag_and_restore_page_info): + New. + (make_cleanup_restore_page_info): Remove. + (set_batch_flag_and_make_cleanup_restore_page_info): Remove. + (~set_batch_flag_and_restore_page_info): New + (make_cleanup_restore_uinteger): Remove. + (make_cleanup_restore_integer): Remove. + (struct restore_integer_closure): Remove. + (restore_integer): Remove. + * utils.h (struct set_batch_flag_and_restore_page_info): New + class. + (set_batch_flag_and_make_cleanup_restore_page_info): Remove. + (make_cleanup_restore_page_info): Remove. + (make_cleanup_restore_uinteger) Remove. + (make_cleanup_restore_integer) Remove. + +2017-10-03 Tom Tromey <tom@tromey.com> + * record-full.h (record_full_gdb_operation_disable_set): Return scoped_restore_tmpl<int>. * infrun.c (adjust_pc_after_break): Update. |