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


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


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