Subject: Re: SPARC/Elf history?
To: matthew green <mrg@eterna.com.au>
From: Andrew Cagney <ac131313@cygnus.com>
List: tech-toolchain
Date: 10/27/1999 22:59:18
matthew green wrote:
> 
> 
>    PS: <sys/ucred.h> refers to NGROUPS when I suspect it wants
>    NGROUPS_MAX.  The include sequence:
>         #include <limits.h>
>         #include <sys/user.h>
>    in gdb/sparc-nat.c trips up because NGROUPS isn't defined
>    Who would be interested in this?
> 
> hmm..
> 
> /sys/sys/param.h:#define        NGROUPS         NGROUPS_MAX     /* max number groups */
> 
> so perhaps <sys/param.h> should be included in gdb/sparc-nat.c instead,
> (for only NetBSD?) ?

I don't know, I suspect that it was originally visible.  I'm going to
add #include <sys/params.h> to gdb/config/nm-nbsd.h.

	enjoy,
		Andrew