Include param.h on FreeBSD/i386

Mark Kettenis kettenis@chello.nl
Sun Jun 30 07:54:00 GMT 2002


"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



More information about the Gdb-patches mailing list