pkgsrc/devel/gdb6/patches/patch-ba

19 lines
521 B
Text

$NetBSD: patch-ba,v 1.1 2005/10/20 17:48:49 wiz Exp $
--- gdb/config/nm-nbsd.h.orig 2004-10-04 08:11:51.000000000 -0600
+++ gdb/config/nm-nbsd.h
@@ -18,8 +18,13 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define PTRACE_ARG3_TYPE char*
+#define PTRACE_ARG3_TYPE caddr_t
#define FETCH_INFERIOR_REGISTERS
#include "solib.h" /* Support for shared libraries. */
+#include <signal.h>
+#ifdef SIGRTMIN
+#define REALTIME_LO SIGRTMIN
+#define REALTIME_HI SIGRTMAX
+#endif