aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-04 07:29:00 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-04 07:29:00 +0000
commit3161604405622a3356d9f51b1d5c1469c70b95d7 (patch)
treecb0508841bcecc1ba6dc7346f4c19e90978a7d7b
parent9ab433aae8243622dbc5756a7f7c82cf0fd5cb1c (diff)
downloadgdb-3161604405622a3356d9f51b1d5c1469c70b95d7.zip
gdb-3161604405622a3356d9f51b1d5c1469c70b95d7.tar.gz
gdb-3161604405622a3356d9f51b1d5c1469c70b95d7.tar.bz2
* go32-nat.c (go32_wait): Change the return value to ptid_t.
* config/djgpp/fnchange.lst: Add two new files in the gdb/testsuite/gdb.c++/ directory to the remapped names. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
-rw-r--r--gdb/config/djgpp/djconfig.sh6
-rw-r--r--gdb/config/djgpp/fnchange.lst2
-rw-r--r--gdb/go32-nat.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh
index ae3006d..65a4df8 100644
--- a/gdb/config/djgpp/djconfig.sh
+++ b/gdb/config/djgpp/djconfig.sh
@@ -126,6 +126,12 @@ export DEFAULT_LEX=flex
# Define explicitly the .exe extension because on W95 with LFN=y
# the check might fail
export am_cv_exeext=.exe
+# ltconfig wants to compute the maximum command-line length, but
+# Bash 2.04 doesn't like that (it doesn't have any limit ;-), and
+# reboots the system. We know our limit in advance, so we don't
+# need all that crap. Assuming that the environment size is less
+# than 4KB, we can afford 12KB of command-line arguments.
+export lt_cv_sys_max_cmd_len=12288
# The configure script needs to see the `install-sh' script, otherwise
# it decides the source installation is broken. But "make install" will
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index 70471f1..5669522 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -177,6 +177,8 @@
@V@/gdb/testsuite/gdb.c++/method.exp @V@/gdb/testsuite/gdb.cxx/method.exp
@V@/gdb/testsuite/gdb.c++/misc.cc @V@/gdb/testsuite/gdb.cxx/misc.cc
@V@/gdb/testsuite/gdb.c++/misc.exp @V@/gdb/testsuite/gdb.cxx/misc.exp
+@V@/gdb/testsuite/gdb.c++/namespace.cc @V@/gdb/testsuite/gdb.cxx/namespace.cc
+@V@/gdb/testsuite/gdb.c++/namespace.exp @V@/gdb/testsuite/gdb.cxx/namespace.exp
@V@/gdb/testsuite/gdb.c++/overload.cc @V@/gdb/testsuite/gdb.cxx/overload.cc
@V@/gdb/testsuite/gdb.c++/overload.exp @V@/gdb/testsuite/gdb.cxx/overload.exp
@V@/gdb/testsuite/gdb.c++/ovldbreak.cc @V@/gdb/testsuite/gdb.cxx/ovldbreak.cc
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index c77a9fc..d7647e9 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -340,7 +340,7 @@ go32_resume (ptid_t ptid, int step, enum target_signal siggnal)
static char child_cwd[FILENAME_MAX];
-static int
+static ptid_t
go32_wait (ptid_t ptid, struct target_waitstatus *status)
{
int i;
@@ -455,7 +455,7 @@ go32_wait (ptid_t ptid, struct target_waitstatus *status)
}
}
}
- return SOME_PID;
+ return pid_to_ptid (SOME_PID);
}
static void