This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MI Doco


> Date: Fri, 9 Jun 2006 15:11:34 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Nick Roberts <nickrob@snap.net.nz>, 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]