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: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 29 Apr 2015 15:21:53 +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> <5540AE31 dot 9050906 at redhat dot com>
Pedro Alves wrote:
> On 04/28/2015 07:18 PM, Gary Benson wrote:
> > 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, pushed.
Cheers,
Gary
--
http://gbenson.net/