e21f96a811
machine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h via machine/reg.h. Many of the regnum definitions are too short and too generic to be exposing to any userland application including one of these two headers. Moreover, these actively cause build failures in googletest (template <typename T1 ...> expanding to template <typename 9 ...>). Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all of the userland consumers to define as needed. Discussed with: imp, jhb Reviewed by: imp, jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21330 |
||
---|---|---|
.. | ||
tests | ||
_libproc.h | ||
crc32.c | ||
crc32.h | ||
libproc.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.inc | ||
proc_bkpt.c | ||
proc_create.c | ||
proc_regs.c | ||
proc_rtld.c | ||
proc_sym.c | ||
proc_util.c |