2013-09-26 17:14:40 +02:00

22 lines
538 B
Plaintext

$NetBSD: patch-an,v 1.2 2008/01/06 19:54:46 rillig Exp $
--- gdb/config/i386/nm-nbsd.h.orig 2004-02-22 16:20:22.000000000 +0000
+++ gdb/config/i386/nm-nbsd.h 2008-01-06 20:43:25.000000000 +0000
@@ -23,7 +23,16 @@
#ifndef NM_NBSD_H
#define NM_NBSD_H
+#include <sys/param.h>
+
/* Get generic NetBSD native definitions. */
#include "config/nm-nbsd.h"
+#include <sys/lock.h>
+#if __NetBSD_Version__ >= 499000900
+#include <sys/mutex.h>
+#endif
+#include <machine/vmparam.h>
+#define KERNEL_U_ADDR USRSTACK
+
#endif /* nm-nbsd.h */