blob: d1eab52946912cd3bab29b03fb30ba995c5d1880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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
|