"Jonathan A. Kollasch" <jakll...@kollasch.net> writes: > On Thu, Feb 17, 2011 at 07:28:46PM +0000, Matt Thomas wrote: >> >> Log Message: >> Move lwp_getpcb to the area with the rest of the _KERNEL function >> declarations. > > This (probably) is what broke the gdb build in its kvm code. > Apparently it needs _KMEMUSER defined.
Joerg just fixed that. However, usr.sbin/crash is broken at least on i386 because of this change. I think adding -D_KERNEL in usr.sbin/crash/Makefile is gross. Unless you prefer to make lwp_getpcb() declaration dependent on _KMEMUSER or on a new macro, could you please revert this change, Matt? Regards, Aymeric