gdb: Auto-loading sequences

 
 23.1.5 Controlling auto-loading native GDB scripts
 --------------------------------------------------
 
 When a new object file is read (for example, due to the 'file' command,
 or because the inferior has loaded a shared library), GDB will look for
 the command file 'OBJFILE-gdb.gdb'.  SeeAuto-loading extensions.
 
    Auto-loading can be enabled or disabled, and the list of auto-loaded
 scripts can be printed.
 
 'set auto-load gdb-scripts [on|off]'
      Enable or disable the auto-loading of canned sequences of commands
      scripts.
 
 'show auto-load gdb-scripts'
      Show whether auto-loading of canned sequences of commands scripts
      is enabled or disabled.
 
 'info auto-load gdb-scripts [REGEXP]'
      Print the list of all canned sequences of commands scripts that GDB
      auto-loaded.
 
    If REGEXP is supplied only canned sequences of commands scripts with
 matching names are printed.