This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Include param.h on FreeBSD/i386


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]