This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: .gdbinit to debug gdb with gdb



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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]