This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: .gdbinit to debug gdb with gdb
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: .gdbinit to debug gdb with gdb
- From: Nicolas dot Thery at Symbian dot com
- Date: Wed, 15 Nov 2000 19:41:36 +0000
- Cc: gdb at sourceware dot cygnus dot com
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)