aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-29 10:16:21 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-29 10:16:21 +0000
commit378247c0e23563309fe8bb8033c7ec0b7ae0482d (patch)
treec0e71eca247c56e63b40ce4fec0668a61f887f9f
parentc125fc0c5cdaf4bda788c280667e0ba6499995f0 (diff)
downloadfsf-binutils-gdb-378247c0e23563309fe8bb8033c7ec0b7ae0482d.zip
fsf-binutils-gdb-378247c0e23563309fe8bb8033c7ec0b7ae0482d.tar.gz
fsf-binutils-gdb-378247c0e23563309fe8bb8033c7ec0b7ae0482d.tar.bz2
Unset CDPATH before doing anything else.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/config/djgpp/djconfig.sh4
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 513c026..c7b53d4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
+ * config/djgpp/djconfig.sh: Unset CDPATH.
+
* go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh
index 65a4df8..cb9664b 100644
--- a/gdb/config/djgpp/djconfig.sh
+++ b/gdb/config/djgpp/djconfig.sh
@@ -30,6 +30,10 @@
# want to pass parameters to configure, you have to pass as the first
# argument the srcdir, even when it is `.' !!!!!
#
+# First, undo any CDPATH settings; they will get in our way when we
+# chdir to directories.
+unset CDPATH
+
# Where are the sources? If you are used to having the sources
# in a separate directory and the objects in another, then set
# here the full path to the source directory and run this script