$NetBSD: patch-ba,v 1.1 2005/11/13 14:45:14 shannonjr Exp $ --- gdb/config/nm-nbsd.h.orig 2004-10-20 17:12:53.000000000 -0600 +++ gdb/config/nm-nbsd.h @@ -22,3 +22,18 @@ #define FETCH_INFERIOR_REGISTERS #include "solib.h" /* Support for shared libraries. */ + +#define PT_IO 1 + +#define PTRACE_ARG3_TYPE caddr_t + +#include +#ifdef SIGRTMIN +#define REALTIME_LO SIGRTMIN +#define REALTIME_HI SIGRTMAX +#endif + +#include +#include +#include +#define KERNEL_U_ADDR USRSTACK