From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17696 invoked by alias); 9 Jun 2006 19:52:18 -0000 Received: (qmail 17679 invoked by uid 22791); 9 Jun 2006 19:52:17 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Jun 2006 19:51:35 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-209-89.inter.net.il [80.230.209.89]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id EVO94148 (AUTH halo1); Fri, 9 Jun 2006 22:51:30 +0300 (IDT) Date: Fri, 09 Jun 2006 19:52:00 -0000 Message-Id: From: Eli Zaretskii To: Nick Roberts , gdb-patches@sources.redhat.com In-reply-to: <20060609191134.GB5616@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 9 Jun 2006 15:11:34 -0400) Subject: Re: [PATCH] MI Doco Reply-to: Eli Zaretskii 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> <20060609191134.GB5616@nevyn.them.org> 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/msg00109.txt.bz2 > Date: Fri, 9 Jun 2006 15:11:34 -0400 > From: Daniel Jacobowitz > Cc: Nick Roberts , gdb-patches@sources.redhat.com > > 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. Are you saying that all the MI examples that use @value{GDBP} are incorrect? Also, isn't it a bug in MI that it uses a hardcoded string?