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

Gary Benson gbenson@redhat.com
Wed Apr 29 15:24:00 GMT 2015


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/



More information about the Gdb-patches mailing list