Variable: gdb-restore-window-configuration-after-quit

gdb-restore-window-configuration-after-quit is a customizable variable defined in gdb-mi.el.gz.

Value

nil

Documentation

If non-nil, restore window configuration as of before GDB started.

Possible values are:
    t -- Always restore.
    nil -- Don't restore.
    if-gdb-show-main -- Restore only if variable gdb-show-main
                          is non-nil
    if-gdb-many-windows -- Restore only if variable gdb-many-windows(var)/gdb-many-windows(fun)
                             is non-nil.

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

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defcustom gdb-restore-window-configuration-after-quit nil
  "If non-nil, restore window configuration as of before GDB started.

Possible values are:
    t -- Always restore.
    nil -- Don't restore.
    `if-gdb-show-main' -- Restore only if variable `gdb-show-main'
                          is non-nil
    `if-gdb-many-windows' -- Restore only if variable `gdb-many-windows'
                             is non-nil."
  :type '(choice
          (const :tag "Always restore" t)
          (const :tag "Don't restore" nil)
          (const :tag "Depends on `gdb-show-main'" if-gdb-show-main)
          (const :tag "Depends on `gdb-many-windows'" if-gdb-many-windows))
  :group 'gdb
  :version "28.1")