From 67f0714670383a2c0c1431676339f0cc8e55a23a Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 30 Jul 2002 07:01:23 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 7 +++++++ gdb/gdbinit.in | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 326ba48f7d..6d94a24dc6 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 b6a32dba09..56881c9747 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)