.gdbini file
Eli Zaretskii
eliz@gnu.org
Sat Aug 11 08:40:00 GMT 2012
> Date: Sat, 11 Aug 2012 15:30:23 +0800
> From: Smith John <horserivers@gmail.com>
>
> 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
automatically.
> 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.
More information about the Gdb
mailing list