Variable: gdb-enable-debug-hook

gdb-enable-debug-hook is a customizable variable defined in gdb-mi.el.gz.

Value

nil

Documentation

Hook run after entering or leaving gdb-enable-debug(var)/gdb-enable-debug(fun).

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;;;###autoload
(define-minor-mode gdb-enable-debug
  "Toggle logging of transaction between Emacs and Gdb.
The log is stored in `gdb-debug-log' as an alist with elements
whose cons is send, send-item or recv and whose cdr is the string
being transferred.  This list may grow up to a size of
`gdb-debug-log-max' after which the oldest element (at the end of
the list) is deleted every time a new one is added (at the front)."
  :global t
  :group 'gdb
  :version "22.1")