.gdbinit to debug gdb with gdb

Nicolas.Thery@Symbian.com Nicolas.Thery@Symbian.com
Wed Nov 15 11:45:00 GMT 2000


Fabrice Gautier <Fabrice_Gautier@sdesigns.com> wrote:

>
> Hi,
>
> In the "internals" gdb docs it is said that there is a .gdbinit file in
the
> gdb source tree that should be used to debug gdb with gdb more easily.
>
> But i can't find this file. Does someone know where it is??

Try gdbinit.in

Here is its content for GDB 4.17 just in case:

echo Setting up the environment for debugging gdb.\n

set complaints 1

b fatal

b info_command
commands
     silent
     return
end

dir @srcdir@
dir .
dir @srcdir@/../mmalloc
dir @srcdir@/../libiberty
dir @srcdir@/../bfd
set prompt (top-gdb)



More information about the Gdb mailing list