~/.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.
--with-system-gdbinit
during compilation)-nx
or -n
.
See more in
System-wide configuration.
-nx
, -n
or -nh
.
set auto-load local-gdbinit
.
See more in
Init File in the Current Directory.