This is the mail archive of the
mailing list for the GDB project.
Re: .gdbini file
> Date: Sat, 11 Aug 2012 15:30:23 +0800
> From: Smith John <firstname.lastname@example.org>
> I am debugging gdb with itself , how can I use the
> gdbinit file in the gdb source directory?
Either type the "source /path/to/.gdbinit" command at the GDB prompt,
or start GDB from the directory of that file, so that it is loaded
> or what role does this file play on ?
It defines several defaults and commands useful for debugging GDB.
It's a text file, so you can read it and see what it does.