summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2002-06-28 18:46:05 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2002-06-28 18:46:05 +0000
commit6a8a2b8cd7672b1c0440fe5e63a6023e7705b8ca (patch)
tree94e70f8cfe96e13af5cd25b4bc4ff401f5358407
parent8a2200c295dfbb174cf4e6a21383310bc8a2b5f4 (diff)
downloadgdb-6a8a2b8cd7672b1c0440fe5e63a6023e7705b8ca.tar.gz
2002-06-28 David O'Brien <obrien@FreeBSD.org>
Merge from mainline: * config/i386/nm-fbsd.h: Include <sys/param.h>. * config/i386/tm-fbsd.h: Likewise.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/i386/nm-fbsd.h4
-rw-r--r--gdb/config/i386/tm-fbsd.h4
3 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5bc9ff712a3..11f1ff8a4fa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-28 David O'Brien <obrien@FreeBSD.org>
+
+ Merge from mainline:
+ * config/i386/nm-fbsd.h: Include <sys/param.h>.
+ * config/i386/tm-fbsd.h: Likewise.
+
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* NEWS: Mention below.
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
index 939b880817b..a06ce955d6c 100644
--- a/gdb/config/i386/nm-fbsd.h
+++ b/gdb/config/i386/nm-fbsd.h
@@ -28,6 +28,10 @@
#include "i386/nm-i386.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
/* Provide access to the i386 hardware debugging registers. */
#define I386_DR_LOW_SET_CONTROL(control) \
diff --git a/gdb/config/i386/tm-fbsd.h b/gdb/config/i386/tm-fbsd.h
index 61f5de57f4a..5c819ce5250 100644
--- a/gdb/config/i386/tm-fbsd.h
+++ b/gdb/config/i386/tm-fbsd.h
@@ -24,6 +24,10 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
/* FreeBSD/ELF uses stabs-in-ELF with the DWARF register numbering
scheme by default, so we must redefine STAB_REG_TO_REGNUM. This
messes up the floating-point registers for a.out, but there is not