This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA v2 03/17] Use scoped_restore for current_ui


On 10/13/2016 10:09 PM, Tom Tromey wrote:
> 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-09-26  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.

OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]