From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18939 invoked by alias); 25 Apr 2002 14:41:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18926 invoked from network); 25 Apr 2002 14:41:07 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Apr 2002 14:41:07 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4E67B3D37; Thu, 25 Apr 2002 10:41:07 -0400 (EDT) Message-ID: <3CC81583.2010201@cygnus.com> Date: Thu, 25 Apr 2002 07:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020424 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eli Zaretskii Cc: chanskw@ca.ibm.com, gdb@sources.redhat.com Subject: Re: Questions about GDB-MI Interface References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00434.txt.bz2 > On Thu, 25 Apr 2002, Andrew Cagney wrote: > > >> It was added with much hesitation because there was real concern that >> once a vaguely looking console mechanism was added, people would try to >> use it instead of investing the time and resources needed to address the >> problem of implementing a real console interface. > > > What was envisioned as a solution for the problem at hand, namely, that > any decent front-end to GDB must allow the user to type CLI commands? My best answer is that it was envisioned to be fixed in 2.0. Several alternatives were suggested but no decision was made. Apple has has since, kind of, made the decision by comming up with a working solution. Of the alternatives I remember: - properly wrap the CLI up in an MI command (what apple did). Has problems with query() where the CLI wants to prompt back to the user. (apple's solution) - separate out the CLI from GDB and have it as a separate MI client - not have a CLI enjoy, Andrew