Bug 7237

Summary: MI's input does not use buffering.
Product: gdb Reporter: ac131313
Component: miAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: gdb-prs, tromey
Priority: P3    
Version: unknown   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

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.