Patch from David Carlton <carlton@math.stanford.edu>:

* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.
This commit is contained in:
Jim Blandy 2002-07-30 07:01:23 +00:00
parent 487e54f29a
commit 67f0714670
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2002-07-30 Jim Blandy <jimb@redhat.com>
Patch from David Carlton <carlton@math.stanford.edu>:
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.
2002-07-29 Andrew Cagney <ac131313@redhat.com> 2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file. * gdb_obstack.h: New file.

View file

@ -10,9 +10,9 @@ commands
return return
end end
dir @srcdir@
dir .
dir @srcdir@/../mmalloc dir @srcdir@/../mmalloc
dir @srcdir@/../libiberty dir @srcdir@/../libiberty
dir @srcdir@/../bfd dir @srcdir@/../bfd
dir @srcdir@
dir .
set prompt (top-gdb) set prompt (top-gdb)