summaryrefslogtreecommitdiff
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
commita4a10d504212aa0f6edd5d9d5f82ba82dacf9a00 (patch)
treeacdb3b4474d7e8ef0ace652561a98a97c7654c71 /gdb/gdbinit.in
parent5755c32983724a2869a789b3a19ac8513a5338a0 (diff)
downloadgdb-a4a10d504212aa0f6edd5d9d5f82ba82dacf9a00.tar.gz
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 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)