Re: [PATCH 02/10] remote: Eliminate remote_hostio_close_cleanup

Simon Marchi
2018-05-18T20:50:29Z

On 2018-05-16 10:18 AM, Pedro Alves wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Alves <palves@redhat.com>
>
> * remote.c (remote_hostio_close_cleanup): Delete.
> (class scoped_remote_fd): New.
> (remote_file_put, remote_file_get): Use it.

LGTM, including catching the exception in the dtor.

Simon