diff options
author | Tom Tromey <tom@tromey.com> | 2018-02-23 14:42:26 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-17 09:22:15 -0600 |
commit | 770623f79f7fdff38f62c641438759748cf3f138 (patch) | |
tree | 5b63468f7af228b8e18572ca954f1379fb37f770 /gdb/ada-tasks.c | |
parent | 04153a3e04ffcdf3a253f38676521aed4b3f22c9 (diff) | |
download | binutils-770623f79f7fdff38f62c641438759748cf3f138.zip binutils-770623f79f7fdff38f62c641438759748cf3f138.tar.gz binutils-770623f79f7fdff38f62c641438759748cf3f138.tar.bz2 |
Remove target_fileio_close_cleanup
This removes target_fileio_close_cleanup in favor of a new RAII class.
The new class is similar to scoped_fd but calls
target_fileio_close_cleanup rather than close.
Regression tested by the buildbot.
gdb/ChangeLog
2018-03-17 Tom Tromey <tom@tromey.com>
* target.c (class scoped_target_fd): New.
(target_fileio_close_cleanup): Remove.
(target_fileio_read_alloc_1): Use scoped_target_fd.
Diffstat (limited to 'gdb/ada-tasks.c')
0 files changed, 0 insertions, 0 deletions