From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18100 invoked by alias); 30 May 2006 20:46:02 -0000 Received: (qmail 18087 invoked by uid 22791); 30 May 2006 20:46:00 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 30 May 2006 20:45:57 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FlB6A-0006BP-1Y; Tue, 30 May 2006 16:45:54 -0400 Date: Tue, 30 May 2006 21:15:00 -0000 From: Daniel Jacobowitz To: Jim Ingham Cc: Bob Rossi , gdb@sources.redhat.com Subject: Re: MI query questions Message-ID: <20060530204553.GA23684@nevyn.them.org> Mail-Followup-To: Jim Ingham , Bob Rossi , gdb@sources.redhat.com References: <20060530171518.GB31100@brasko.net> <7A4B9D88-47FB-4721-949F-632AF2E449FC@apple.com> <20060530175310.GD31100@brasko.net> <20060530181143.GE31100@brasko.net> <6FE49E5C-CD1C-45FC-B2FF-97E4B2FFA779@apple.com> <20060530185446.GF31100@brasko.net> <6CF6F2BF-276F-4634-BA75-80698EEE64EE@apple.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6CF6F2BF-276F-4634-BA75-80698EEE64EE@apple.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00405.txt.bz2 On Tue, May 30, 2006 at 01:14:12PM -0700, Jim Ingham wrote: > I also like this =read-one-line thingie, because it makes it explicit > what's going on, namely something other than the MI is trying to read > one line of input. So the FE should solicit a line of input from > whoever it's getting that from in the command that caused this > message to be delivered, and send it on... While I agree at first look, on the other hand: (A) It messes up pipelining. You can't throw five commands at GDB at once, if one of them might eat further input. (B) It makes parsing the output somewhat trickier. Would it be helpful to have some general solution for this, presumably involving completions (i.e. closures)? Come back and answer the prompt when you're ready? -- Daniel Jacobowitz CodeSourcery