This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with bfd_fdopenr and BFD_SEND_FMT combo?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]