This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 09/22] Remove make_cleanup_restore_current_ui
- From: Tom Tromey <tom at tromey dot com>
- To: Trevor Saunders <tbsaunde at tbsaunde dot org>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 30 Sep 2016 21:47:18 -0600
- Subject: Re: [RFA 09/22] Remove make_cleanup_restore_current_ui
- Authentication-results: sourceware.org; auth=none
- References: <1474949330-4307-1-git-send-email-tom@tromey.com> <1474949330-4307-10-git-send-email-tom@tromey.com> <20160929092753.uoumkpat4tyde3km@ball>
>>>>> "Trevor" == Trevor Saunders <tbsaunde@tbsaunde.org> writes:
>> + ~switch_thru_all_uis ()
>> + {
>> + }
Trev> So, you don't need to do anything special here because of
Trev> scoped_restore. So why not just use the compilers definition of this?
I made this change.
Tom