Bug 7237 - MI's input does not use buffering.
Summary: MI's input does not use buffering.
Status: RESOLVED OBSOLETE
Alias: None
Product: gdb
Classification: Unclassified
Component: mi (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-06 20:08 UTC by ac131313
Modified: 2023-08-31 17:11 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ac131313 2001-07-07 03:08:00 UTC
[Converted from Gnats 132]

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.

Release:
unknown
Comment 1 Tom Tromey 2023-08-31 17:11:14 UTC
This hasn't seemed necessary in the last 20 years and
it isn't clear what benefit it would provide, so I'm going to close it.