From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19219 invoked by alias); 11 Jun 2006 10:47:02 -0000 Received: (qmail 19203 invoked by uid 22791); 11 Jun 2006 10:46:59 -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; Sun, 11 Jun 2006 10:46:19 +0000 Received: from kahikatea.snap.net.nz (p401-tnt1.snap.net.nz [202.124.111.147]) by viper.snap.net.nz (Postfix) with ESMTP id 3DD8F7582BA; Sun, 11 Jun 2006 22:46:18 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id EBD471D3550; Sun, 11 Jun 2006 22:14:58 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17547.60705.62123.543072@kahikatea.snap.net.nz> Date: Sun, 11 Jun 2006 10:47:00 -0000 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI Doco In-Reply-To: References: <17535.33986.598009.914783@kahikatea.snap.net.nz> <17536.4472.263731.425097@kahikatea.snap.net.nz> <17538.8607.697546.427486@kahikatea.snap.net.nz> <17546.915.125070.943811@kahikatea.snap.net.nz> <17547.15381.217912.425365@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.0.50.20 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-06/txt/msg00140.txt.bz2 > > Clearly, some things don't work, but I don't know how to express > > exactly what they are. > > How about showing examples of what doesn't work? I'm not keen on giving examples which don't work in the manual but I can expand it a bit (I've now used @anchor for -interpreter-exec): @cindex compatibility, @sc{gdb/mi} and CLI @cindex @sc{gdb/mi}, compatibility with CLI For the developers convenience CLI commands can be entered directly, but there may be some unexpected behaviour. For example, commands that query the user will behave as if the user replied yes, breakpoint command lists are not executed and some CLI commands, such as @code{if}, @code{when} and @code{define}, prompt for further input with @samp{>}, which is not valid MI output. This feature may be removed at some stage in the future and it is recommended that front ends use the @code{-interpreter-exec} command (@pxref{-interpreter-exec}). -- Nick http://www.inet.net.nz/~nickrob