From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14756 invoked by alias); 5 Apr 2003 17:28:52 -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 14737 invoked from network); 5 Apr 2003 17:28:52 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 5 Apr 2003 17:28:52 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D660E2B23; Sat, 5 Apr 2003 12:28:46 -0500 (EST) Message-ID: <3E8F124E.2010807@redhat.com> Date: Sat, 05 Apr 2003 17:28:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Ingham Cc: gdb@sources.redhat.com Subject: Re: Add fullname to breakpoint output References: <8E93EF0A-66EB-11D7-A344-00039379E320@apple.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00056.txt.bz2 > In my view, the CLI should aim at minimalism, since a human being is scanning it and too much information would be confusing. The MI is intended to be scanned by a program, so we should feel free to cram in whatever might be useful - within reason of course... For this reason, when we found PB needed an extra bit of data which might not be so useful to the CLI user, we would just add it to the MI only. This is a little unsatisfying in implementation, since it means you have > > if (ui_out_is_mi_like (uiout)) > { > > } > > scattered through non-interpreter specific code. But this is better than cluttering up the CLI output for stuff that is more interesting to a front-end... Just FYI, the current intermingling of CLI and MI code is short term - get something working. Medium to long term, the two need to be more cleanly separated. Related to this is separating more of the CLI from core GDB. Andrew