This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Include param.h on FreeBSD/i386
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 28 Jun 2002 13:15:44 -0700
- Subject: Include param.h on FreeBSD/i386
- Organization: The NUXI BSD group
- Reply-to: obrien at FreeBSD dot org
I applied this patch to both mainline and 5.2_branch:
2002-06-28 David O'Brien <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.
Index: config/i386/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-fbsd.h,v
retrieving revision 1.6
diff -u -r1.6 nm-fbsd.h
--- config/i386/nm-fbsd.h 31 Mar 2002 17:47:17 -0000 1.6
+++ config/i386/nm-fbsd.h 28 Jun 2002 18:44:16 -0000
@@ -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) \
Index: config/i386/tm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-fbsd.h,v
retrieving revision 1.7
diff -u -r1.7 tm-fbsd.h
--- config/i386/tm-fbsd.h 15 Jun 2002 18:09:31 -0000 1.7
+++ config/i386/tm-fbsd.h 28 Jun 2002 18:44:16 -0000
@@ -23,6 +23,10 @@
#include "i386/tm-i386.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
/* These defines allow the recognition of sigtramps as a function name
<sigtramp>.