This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: RFA: Remove unused synchronous code


> From: Elena Zannoni <ezannoni@cygnus.com>
> Date: Wed, 21 Mar 2001 10:02:41 -0500 (EST)
> 
> Eli Zaretskii writes:
>  > 
>  > On Tue, 20 Mar 2001, Elena Zannoni wrote:
>  > 
>  > > Eli has a point.
>  > > I would like to close this issue and leave things as they are
>  > > for the 5.1 release. 
>  > 
>  > FYI: I have a known bug with using the async code in the DJGPP port.
>  > If you type quickly, sometimes characters get stuck in some buffer,
>  > and GDB becomes out of sync with user keystrokes; i.e. you type a key,
>  > but GDB sees the previous key.
> 
> Ah, thanks. I suspect there are a few (several?) bugs that still needs
> to be ironed out.
> 
>  > I don't yet know whether this is due to some bug in the DJGPP's
>  > version of `select' or something in GDB's own code.  It's the next
>  > issue I will be working on RSN, and I hope to get it solved for v5.1.
>  > 
> 
> Let me know if i can do something.
> Have you seen this anywhere else other than DJGPP?

I debugged this.  It's a bug in DJGPP's library (`select' wasn't
paying attention to characters buffered by the termios emulation).
After fixing it, the -async option is working correctly in the DJGPP
port.


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