From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25657 invoked by alias); 9 Jun 2006 19:12:28 -0000 Received: (qmail 25630 invoked by uid 22791); 9 Jun 2006 19:12:26 -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; Fri, 09 Jun 2006 19:11:39 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FomOM-0001Vk-I6; Fri, 09 Jun 2006 15:11:34 -0400 Date: Fri, 09 Jun 2006 19:12:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI Doco Message-ID: <20060609191134.GB5616@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Nick Roberts , gdb-patches@sources.redhat.com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes 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/msg00106.txt.bz2 On Fri, Jun 09, 2006 at 10:06:34PM +0300, Eli Zaretskii wrote: > > + @smallexample > > + -> -break-insert main > > + <- ^done,bkpt=@{number="1",type="breakpoint",disp="keep", > > + enabled="y",addr="0x08048564",func="main",file="myprog.c", > > + fullname="/home/nickrob/myprog.c",line="68",times="0"@} > > + <- (gdb) > > Please use "(@value{GDBP})" instead of a literal "(gdb)". In this context, that's incorrect. This is actually a literal "(gdb)\n", rather than the result of "show prompt"; MI uses a hardcoded prompt string. (In retrospect it would have been less confusing if a different prompt had been selected.) -- Daniel Jacobowitz CodeSourcery