aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-29 10:12:49 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-29 10:12:49 +0000
commitf959bc4156d842940daaa36ba1a35a146be4a329 (patch)
tree3af7dafb54e3306d9c6711775e9449abe239bd50
parenta3b9cbb3390a75eb4f190cd4133c0efa025b91af (diff)
downloadgdb-f959bc4156d842940daaa36ba1a35a146be4a329.zip
gdb-f959bc4156d842940daaa36ba1a35a146be4a329.tar.gz
gdb-f959bc4156d842940daaa36ba1a35a146be4a329.tar.bz2
Unset CDPATH before doing annything 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 cc04866..34e8e91 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