diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-22 20:50:52 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-10-21 14:17:32 -0600 |
commit | 4b6749b9a4680e79affdb9c02ea2f5ba39a54587 (patch) | |
tree | 4036cf2242831344176ee269127a32c6718009c5 /gdb/ChangeLog | |
parent | 9746809447893fd4672ea6babf4e961157cb541d (diff) | |
download | fsf-binutils-gdb-4b6749b9a4680e79affdb9c02ea2f5ba39a54587.zip fsf-binutils-gdb-4b6749b9a4680e79affdb9c02ea2f5ba39a54587.tar.gz fsf-binutils-gdb-4b6749b9a4680e79affdb9c02ea2f5ba39a54587.tar.bz2 |
Use scoped_restore for current_ui
This changes most uses of make_cleanup_restore_current_ui to use
scoped_restore. The use in switch_thru_all_uis_init still remains;
that is dealt with in a later patch by replacing this iterator with a
real class.
2016-10-21 Tom Tromey <tom@tromey.com>
* top.c (new_ui_command, wait_sync_command_done)
(gdb_readline_wrapper): Use scoped_restore.
* infrun.c (fetch_inferior_event): Use scoped_restore.
* infcall.c (call_thread_fsm_should_stop): Use scoped_restore.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9d0d536..ebfdf99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2016-10-21 Tom Tromey <tom@tromey.com> + * top.c (new_ui_command, wait_sync_command_done) + (gdb_readline_wrapper): Use scoped_restore. + * infrun.c (fetch_inferior_event): Use scoped_restore. + * infcall.c (call_thread_fsm_should_stop): Use scoped_restore. + +2016-10-21 Tom Tromey <tom@tromey.com> + * utils.c (make_cleanup_restore_ui_file, do_restore_ui_file) (struct restore_ui_file_closure): Remove. * utils.h (make_cleanup_restore_ui_file): Don't declare. |