Variable: gdb-control-commands-regexp

gdb-control-commands-regexp is a variable defined in gdb-mi.el.gz.

Value

"^\\(comm\\(a\\(n\\(ds?\\)?\\)?\\)?\\|if\\|while\\|def\\(i\\(ne?\\)?\\)?\\|doc\\(u\\(m\\(e\\(nt?\\)?\\)?\\)?\\)?\\|python\\|python-interactive\\|pi\\|guile\\|guile-repl\\|gr\\|while-stepping\\|stepp\\(i\\(ng?\\)?\\)?\\|ws\\|actions\\|expl\\(o\\(re?\\)?\\)?\\)\\([[:blank:]]+\\([^[:blank:]]*\\)\\)*$"

Documentation

Regexp matching GDB commands that enter a recursive reading loop.

As long as GDB is in the recursive reading loop, it does not expect commands to be prefixed by "-interpreter-exec console".

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defvar gdb-control-commands-regexp
  (concat
   "^\\("
   "comm\\(a\\(n\\(ds?\\)?\\)?\\)?\\|if\\|while"
   "\\|def\\(i\\(ne?\\)?\\)?\\|doc\\(u\\(m\\(e\\(nt?\\)?\\)?\\)?\\)?\\|"
   gdb-python-guile-commands-regexp
   "\\|while-stepping\\|stepp\\(i\\(ng?\\)?\\)?\\|ws\\|actions"
   "\\|expl\\(o\\(re?\\)?\\)?"
   "\\)\\([[:blank:]]+\\([^[:blank:]]*\\)\\)*$")
  "Regexp matching GDB commands that enter a recursive reading loop.
As long as GDB is in the recursive reading loop, it does not expect
commands to be prefixed by \"-interpreter-exec console\".")