From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25663 invoked by alias); 12 May 2006 12:44:05 -0000 Received: (qmail 25655 invoked by uid 22791); 12 May 2006 12:44:04 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 May 2006 12:44:01 +0000 Received: from kahikatea.snap.net.nz (p317-tnt1.snap.net.nz [202.124.111.63]) by viper.snap.net.nz (Postfix) with ESMTP id 58C80755E0C; Sat, 13 May 2006 00:44:00 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 8E04D1D3550; Sun, 14 May 2006 00:43:44 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17509.54397.736467.479414@kahikatea.snap.net.nz> Date: Fri, 12 May 2006 12:44:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: CLI and GDB/MI documentation patch X-Mailer: VM 7.19 under Emacs 22.0.50.11 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00234.txt.bz2 > I'd agree with Eli that the proposed text sounds a bit like history, but it > documents some important points: I'm not sure I like it because: > - That you can type CLI commands into MI, and this is not longer considered > to work just by accident It was never just by accident, just more of a hack. > - That typing CLI command has the same effect as -interpreter-exec console Its not quite the same, the latter goes through mi_cmd_execute but the former doesn't. > - That CLI command don't produce async notifications They don't *currently* produce async notifications but I'm trying to change that with my branch. > Those points are important to have documented, IMO. Putting these things in the manual just makes it harder to change GDB. I would rather say: "Its there. Use it at your own risk". Or at least: For the developers convenience CLI commands can be entered directly. However this feature may be removed at some stage in the future and it is recommended that front ends use the @code{-interpreter exec} command. @xref{GDB/MI Miscellaneous Commands}. -- Nick http://www.inet.net.nz/~nickrob