This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH master+7.12 v2 1/3] Introduce cleanup to restore current_uiout
>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:
Simon> - old_chain = make_cleanup (restore_current_uiout_cleanup, current_uiout);
Simon> + old_chain = make_cleanup_restore_current_uiout ();
There's also already make_cleanup_restore_ui_out.
You could just use "make_cleanup_restore_ui_out (¤t_uiout)" instead.
Tom