gdb: Init File in the Current Directory

 
 22.8.1 Automatically loading init file in the current directory
 ---------------------------------------------------------------
 
 By default, GDB reads and executes the canned sequences of commands from
 init file (if any) in the current working directory, see SeeInit File
 in the Current Directory during Startup.
 
    Note that loading of this local '.gdbinit' file also requires
 accordingly configured 'auto-load safe-path' (SeeAuto-loading safe
 path).
 
 'set auto-load local-gdbinit [on|off]'
      Enable or disable the auto-loading of canned sequences of commands
      (SeeSequences) found in init file in the current directory.
 
 'show auto-load local-gdbinit'
      Show whether auto-loading of canned sequences of commands from init
      file in the current directory is enabled or disabled.
 
 'info auto-load local-gdbinit'
      Print whether canned sequences of commands from init file in the
      current directory have been auto-loaded.