* gdbmi.texinfo: Update command examples with real MI behavior.
This commit is contained in:
parent
96f31fc79d
commit
32c95e2031
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-06-17 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
|
* gdbmi.texinfo: Update command examples with real MI behavior.
|
||||||
|
|
||||||
2002-05-20 Keith Seitz <keiths@redhat.com>
|
2002-05-20 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
* mi-main.c (captured_mi_execute_command): Add uiout parameter.
|
* mi-main.c (captured_mi_execute_command): Add uiout parameter.
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
@c @ifinfo
|
@c @ifinfo
|
||||||
@c This file documents GDB/MI, a Machine Interface to GDB.
|
@c This file documents GDB/MI, a Machine Interface to GDB.
|
||||||
|
|
||||||
@c Copyright 2000, 2001 Free Software Foundation, Inc.
|
@c Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
@c Contributed by Cygnus Solutions.
|
@c Contributed by Cygnus Solutions.
|
||||||
|
|
||||||
@c Permission is granted to copy, distribute and/or modify this document
|
@c Permission is granted to copy, distribute and/or modify this document
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
@c @page
|
@c @page
|
||||||
@c @vskip 0pt plus 1filll
|
@c @vskip 0pt plus 1filll
|
||||||
|
|
||||||
@c Copyright @copyright{} 2000, 2001 Free Software Foundation, Inc.
|
@c Copyright @copyright{} 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
@c Permission is granted to copy, distribute and/or modify this document
|
@c Permission is granted to copy, distribute and/or modify this document
|
||||||
@c under the terms of the GNU Free Documentation License, Version 1.1 or
|
@c under the terms of the GNU Free Documentation License, Version 1.1 or
|
||||||
|
@ -355,7 +355,7 @@ following line is passed to @sc{gdb/mi} as input, while @samp{<-} means
|
||||||
the output received from @sc{gdb/mi}.
|
the output received from @sc{gdb/mi}.
|
||||||
|
|
||||||
@subsubheading Target Stop
|
@subsubheading Target Stop
|
||||||
|
@c Ummm... There is no "-stop" command. This assumes async, no?
|
||||||
Here's an example of stopping the inferior process:
|
Here's an example of stopping the inferior process:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
|
@ -378,7 +378,9 @@ Here's an example of a simple CLI command being passed through
|
||||||
|
|
||||||
@example
|
@example
|
||||||
-> print 1+2
|
-> print 1+2
|
||||||
<- ~3\n
|
<- &"print 1+2\n"
|
||||||
|
<- ~"$1 = 3\n"
|
||||||
|
<- ^done
|
||||||
<- (@value{GDBP})
|
<- (@value{GDBP})
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
@ -396,7 +398,7 @@ Here's what happens if you pass a non-existent command:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
-> -rubbish
|
-> -rubbish
|
||||||
<- error,"Rubbish not found"
|
<- ^error,msg="Undefined MI command: rubbish"
|
||||||
<- (@value{GDBP})
|
<- (@value{GDBP})
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue