This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Allow passing fd == NULL to exec_file_find and solib_find
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 29 Apr 2015 11:10:57 +0100
- Subject: Re: [PATCH] Allow passing fd == NULL to exec_file_find and solib_find
- Authentication-results: sourceware.org; auth=none
- References: <553F6F79 dot 8000505 at redhat dot com> <1430245098-22231-1-git-send-email-gbenson at redhat dot com>
On 04/28/2015 07:18 PM, Gary Benson wrote:
> Hi all,
>
> This commit allows NULL to be passed as the int *fd argument
> to exec_file_find and solib_find to simplify use cases where
> the caller does not require the file to be opened.
>
> Built and regtested on RHEL6.6 x86_64.
>
> Ok to commit?
>
OK.
Thanks,
Pedro Alves