This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problem with bfd_fdopenr and BFD_SEND_FMT combo?
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Muthukumar Ratty <muthu at iqmail dot net>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 3 Jul 2003 21:53:31 +0930
- Subject: Re: Problem with bfd_fdopenr and BFD_SEND_FMT combo?
- References: <Pine.LNX.4.33.0307022339580.11016-100000@Muruga.localdomain>
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