[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb patches on FreeBSD 4.9 stable
- Date: Fri, 12 Mar 2004 11:21:43 -0500
- From: dufault at hda.com (Peter Dufault)
- Subject: gdb patches on FreeBSD 4.9 stable
Two files added to gdb (hw_shm.c and hw_sem.c) for the powerpc
simulation won't compile on FreeBSD.
FreeBSD-stable expects and documents that sys/types.h must be included
That is wrong per the single unix spec, which says that including
sys/shm.h defines those items from both sys/ipc.h and sys/types.h.
The best solution is to just include sys/shm.h and force all operating
systems to adhere to the spec, but unfortunately that won't work on
Since RTEMS is already redundantly including sys/ipc.h above sys/shm.h,
can it also redundantly include sys/types.h above both? That's the
local patch I made to get it to compile and run, and it shouldn't break
any conformant platforms.
I don't know if this is fixed in the FreeBSD 5 branch.
HD Associates, Inc.