23 lines
538 B
Text
23 lines
538 B
Text
$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 <signal.h>
|
|
+#ifdef SIGRTMIN
|
|
+#define REALTIME_LO SIGRTMIN
|
|
+#define REALTIME_HI SIGRTMAX
|
|
+#endif
|
|
+
|
|
+#include <sys/param.h>
|
|
+#include <sys/lock.h>
|
|
+#include <machine/vmparam.h>
|
|
+#define KERNEL_U_ADDR USRSTACK
|