Next: GDB/MI Output Syntax, Up: GDB/MI Command Syntax [Contents][Index]
command →cli-command | mi-command
cli-command →[ token ] cli-command nl, where
cli-command is any existing GDB CLI command.
mi-command →[ token ] "-" operation ( " " option )*
[ " --" ] ( " " parameter )* nl
token →"any sequence of digits"
option →"-" parameter [ " " parameter ]
parameter →non-blank-sequence | c-string
operation →any of the operations described in this chapter
non-blank-sequence →anything, provided it doesn’t contain special characters such as "-", nl, """ and of course " "
c-string →""" seven-bit-iso-c-string-content """
nl →CR | CR-LF
Notes:
token, when present, is passed back when the command
finishes.
Pragmatics: