aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-14 20:17:43 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-14 20:17:43 +0000
commit4e838464898ecd967cb10c2a746e0c9e25768924 (patch)
tree0115ab3493bdfb618ff8125c1052b660231b96d1
parent7532965fe1a756b6b62ae686a3e5b61610cfc5a7 (diff)
downloadgdb-4e838464898ecd967cb10c2a746e0c9e25768924.zip
gdb-4e838464898ecd967cb10c2a746e0c9e25768924.tar.gz
gdb-4e838464898ecd967cb10c2a746e0c9e25768924.tar.bz2
* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
* lib/gdb.exp: Recognize relative path names as well as absolute ones.
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.base/bigcore.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 26209a4..af581f5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-14 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
+
2004-08-14 Eli Zaretskii <eliz@gnu.org>
* ChangeLog: Prefix Local Variables with semi-colons and indent
@@ -69,6 +73,9 @@
2004-08-09 Mark Kettenis <kettenis@gnu.org>
+ * lib/gdb.exp: Recognize relative path names as well as absolute
+ ones.
+
* gdb.base/sigaltstack.exp: Provide proper anchoring.
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
diff --git a/gdb/testsuite/gdb.base/bigcore.c b/gdb/testsuite/gdb.base/bigcore.c
index bbf37fb..2a8bb07 100644
--- a/gdb/testsuite/gdb.base/bigcore.c
+++ b/gdb/testsuite/gdb.base/bigcore.c
@@ -19,10 +19,13 @@
Please email any bugs, comments, and/or additions to this file to:
bug-gdb@prep.ai.mit.edu */
-#include <unistd.h>
-#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/time.h>
#include <sys/resource.h>
+#include <stdlib.h>
+#include <unistd.h>
+
/* Print routines:
The following are so that printf et.al. can be avoided. Those