Variable: gdb-show-main

gdb-show-main is a customizable variable defined in gdb-mi.el.gz.

Value

nil

Documentation

Non-nil means display source file containing the main routine at startup.

Also display the main routine in the disassembly buffer if present.

This variable was added, or its default value changed, in Emacs 22.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defcustom gdb-show-main nil
  "Non-nil means display source file containing the main routine at startup.
Also display the main routine in the disassembly buffer if present."
  :type 'boolean
  :group 'gdb
  :version "22.1")