aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-07-30 07:01:23 +0000
committerJim Blandy <jimb@codesourcery.com>2002-07-30 07:01:23 +0000
commit67f0714670383a2c0c1431676339f0cc8e55a23a (patch)
treeb30752713e3185e1f844787ea19f227e456b4e45 /gdb
parent487e54f29acc5750992ab2e07574b872a32973ee (diff)
downloadfsf-binutils-gdb-67f0714670383a2c0c1431676339f0cc8e55a23a.zip
fsf-binutils-gdb-67f0714670383a2c0c1431676339f0cc8e55a23a.tar.gz
fsf-binutils-gdb-67f0714670383a2c0c1431676339f0cc8e55a23a.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/gdbinit.in4
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 326ba48..6d94a24 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* gdb_obstack.h: New file.
diff --git a/gdb/gdbinit.in b/gdb/gdbinit.in
index b6a32db..56881c9 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)