aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbinit.in
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/gdbinit.in
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/gdbinit.in')
-rw-r--r--gdb/gdbinit.in4
1 files changed, 2 insertions, 2 deletions
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)