[PATCH] Allow passing fd == NULL to exec_file_find and solib_find

Pedro Alves palves@redhat.com
Wed Apr 29 11:22:00 GMT 2015


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



More information about the Gdb-patches mailing list