Problem with bfd_fdopenr and BFD_SEND_FMT combo?

Alan Modra amodra@bigpond.net.au
Thu Jul 3 12:23:00 GMT 2003


On Thu, Jul 03, 2003 at 12:23:26AM -0700, Muthukumar Ratty wrote:
> I was trying to use bfd_fdopenr on an fd opened with RDWR. it goes ok till
> it reaches bfd_close:BFD_SEND_FMT where it fails( error message printed
> is Invalid operation, if I use bfd_openw things are fine but I want to
> use fdopenr).

You don't say exactly what you were trying to do.  Try running under
gdb, step into the failing function call, and see where the unexpected
happens.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list