> This happens because the definition of of anon_hdl in is > protected with _KERNEL || _STANDALONE || _KMEMUSER. > > Compiling with -D_KMEMUSER works, but unfortunately adding that definition > to gdb/config/mips/nm-irix5.h does not: is included before > defs.h, so the definition needs to go either into config.h or directly into > proc-api.c. I think the former approach is cleaner, so this patch > implements it. > > Ok for 6.1 branch and mainline? Does the attached also work? This avoids blindly un/redefining _KMEMUSER. Andrew