This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove make_cleanup_ui_out_redirect_pop
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 09 Sep 2017 17:53:24 -0400
- Subject: [binutils-gdb] Remove make_cleanup_ui_out_redirect_pop
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT ca5909c7de7353d8005bf8fdcc020b8f14cc1603 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ca5909c7de7353d8005bf8fdcc020b8f14cc1603
Remove make_cleanup_ui_out_redirect_pop
This patch introduces ui_out_redirect_pop. All uses of
make_cleanup_ui_out_redirect_pop are replaced with this new class.
ChangeLog
2017-09-09 Tom Tromey <tom@tromey.com>
* mi/mi-interp.c (mi_user_selected_context_changed): Use
ui_out_redirect_pop.
* guile/scm-ports.c (ioscm_with_output_to_port_worker): Use
ui_out_redirect_pop.
* utils.c (do_ui_out_redirect_pop)
(make_cleanup_ui_out_redirect_pop): Remove.
* top.c (execute_command_to_string): Use ui_out_redirect_pop.
* utils.h (make_cleanup_ui_out_redirect_pop): Remove.
* ui-out.h (ui_out_redirect_pop): New class.