[RFC] Suggested ways to remove the need for xm-go32.h

Andreas Schwab schwab@suse.de
Fri Sep 24 21:32:00 GMT 2004


Christopher Faylor <me@cgf.cx> writes:

> On Fri, Sep 24, 2004 at 03:36:21PM +0200, Andreas Schwab wrote:
>>Corinna Vinschen <vinschen@redhat.com> writes:
>>>That's nothing GDB should be concerned of, probably, but that's
>>>definitely a leak in the definitions.  How much sense does it make to
>>>allow "b" in fopen but no equivalent in the low-level interface :-(
>>
>>Doing the text conversion on the low level creates a heap of problems
>>with POSIX semantics.  The stdio level is much better suited for this
>>task.
>
> Yeah, but it makes things pretty tough for a system that has to support
> tough, like what happens when you do an fdopen on a file that has been
> open()ed with O_TEXT and then do an 'fseek'?

That's what I meant with heap of problems.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb-patches mailing list