This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use scoped_restore for ui_file
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 25 Oct 2016 23:15:41 -0400
- Subject: [binutils-gdb] Use scoped_restore for ui_file
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 9746809447893fd4672ea6babf4e961157cb541d ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9746809447893fd4672ea6babf4e961157cb541d
Use scoped_restore for ui_file
This replaces all the uses of make_cleanup_restore_ui_file with
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.
* guile/scm-ports.c (ioscm_with_output_to_port_worker): Use
scoped_restore.
* top.c (execute_command_to_string): Use scoped_restore.