diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-22 20:33:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-10-21 14:17:32 -0600 |
commit | 9746809447893fd4672ea6babf4e961157cb541d (patch) | |
tree | 0d82c7443e54ba27007cf112c1ae506872bb4949 /gdb/alphabsd-nat.c | |
parent | b7b633e9b13fc5697af035f4504c9790c612a8c7 (diff) | |
download | binutils-gdb-9746809447893fd4672ea6babf4e961157cb541d.tar.gz |
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.
Diffstat (limited to 'gdb/alphabsd-nat.c')
0 files changed, 0 insertions, 0 deletions