This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/132: MI's input does not use buffering.
- To: gdb-gnats at sources dot redhat dot com
- Subject: gdb/132: MI's input does not use buffering.
- From: ac131313 at cygnus dot com
- Date: 7 Jul 2001 02:58:56 -0000
- Reply-To: ac131313 at cygnus dot com
>Number: 132
>Category: gdb
>Synopsis: MI's input does not use buffering.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jul 06 20:08:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: ac131313@cygnus.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
MI's input does not use buffering.
At present the MI interface reads raw characters of from an unbuffered
FD. This is to avoid several nasty buffer/race conditions. That code
should be changed so that it registers its self with the event loop
(on the input FD) and then push commands up to MI as they arrive.
The serial code already does this.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: