aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-26 22:03:08 -0600
committerTom Tromey <tom@tromey.com>2017-08-03 07:58:55 -0600
commit6e7bc05c53fe65089f290757a72508356b491a6f (patch)
treee1e40d2cf301a11c550259e08ca5778f20196e47 /gdb/python
parent4a45905b825ef230a3fbf6bb7857339b39e5af16 (diff)
downloadbinutils-6e7bc05c53fe65089f290757a72508356b491a6f.zip
binutils-6e7bc05c53fe65089f290757a72508356b491a6f.tar.gz
binutils-6e7bc05c53fe65089f290757a72508356b491a6f.tar.bz2
Change open_terminal_stream to return a gdb_file_up
This changes open_terminal_stream to return a gdb_file_up, eliminating another use of make_cleanup_fclose. Arguably perhaps new_ui should take ownership of the files using a move, but there is at least one spot where this isn't appropriate (or at least not currently done), so I elected to use a more minimal approach. ChangeLog 2017-08-03 Tom Tromey <tom@tromey.com> * top.c (open_terminal_stream): Return gdb_file_up. (new_ui_command): Update.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions