Function: gdb-script-skip-to-head
gdb-script-skip-to-head is a byte-compiled function defined in
gud.el.gz.
Signature
(gdb-script-skip-to-head)
Documentation
We're just in front of an end and we need to go to its head.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defun gdb-script-skip-to-head ()
"We're just in front of an `end' and we need to go to its head."
(while (and (re-search-backward "^\\s-*\\(\\(end\\)\\|define\\|document\\|if\\|while\\|commands\\)\\>" nil 'move)
(match-end 2))
(gdb-script-skip-to-head)))