Next: , Previous: gcore man, Up: Man Pages


gdbinit



~/.gdbinit

./.gdbinit

These files contain gdb commands to automatically execute during gdb startup. The lines of contents are canned sequences of commands, described in Sequences.

Please read more in Startup.

(not enabled with --with-system-gdbinit during compilation)
System-wide initialization file. It is executed unless user specified gdb option -nx or -n. See more in System-wide configuration.
~/.gdbinit
User initialization file. It is executed unless user specified gdb options -nx, -n or -nh.
./.gdbinit
Initialization file for current directory. It may need to be enabled with gdb security command set auto-load local-gdbinit. See more in Init File in the Current Directory.