From: Jim Blandy Date: Tue, 30 Jul 2002 07:01:23 +0000 (+0000) Subject: Patch from David Carlton : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67f0714670383a2c0c1431676339f0cc8e55a23a;p=binutils-gdb.git Patch from David Carlton : * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 326ba48f7d6..6d94a24dc60 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-07-30 Jim Blandy + + Patch from David Carlton : + * 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 * gdb_obstack.h: New file. diff --git a/gdb/gdbinit.in b/gdb/gdbinit.in index b6a32dba09f..56881c97476 100644 --- a/gdb/gdbinit.in +++ b/gdb/gdbinit.in @@ -10,9 +10,9 @@ commands return end -dir @srcdir@ -dir . dir @srcdir@/../mmalloc dir @srcdir@/../libiberty dir @srcdir@/../bfd +dir @srcdir@ +dir . set prompt (top-gdb)