This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Include param.h on FreeBSD/i386
- From: Mark Kettenis <kettenis at chello dot nl>
- To: obrien at FreeBSD dot org
- Cc: gdb-patches at sources dot redhat dot com
- Date: 30 Jun 2002 16:54:48 +0200
- Subject: Re: Include param.h on FreeBSD/i386
- References: <20020628131544.A53773@dragon.nuxi.com>
"David O'Brien" <obrien@FreeBSD.org> writes:
> 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.
Hi David. Can you tell me why this is needed? Including
<sys/param.h> from config/i386/tm-fbsd.h isn't right since this file
is going to be removed in the not so distant future, and I have my
doubts about the change to config/i386/nm-fbsd.h too. If there is GDB
code that needs <sys/param.h> we should probably add it to the
appropriate files, not to the global nm.h.
Mark