Module Name: src
Committed By: skrll
Date: Tue Apr 6 07:44:09 UTC 2010
Modified Files:
src/sys/arch/hppa/hppa: trap.c
Log Message:
Include SSBREAKPOINT in the PTRACE #ifdef/#endif.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/hppa/hppa/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/hppa/trap.c
diff -u src/sys/arch/hppa/hppa/trap.c:1.86 src/sys/arch/hppa/hppa/trap.c:1.87
--- src/sys/arch/hppa/hppa/trap.c:1.86 Sat Apr 3 07:46:02 2010
+++ src/sys/arch/hppa/hppa/trap.c Tue Apr 6 07:44:09 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.86 2010/04/03 07:46:02 skrll Exp $ */
+/* $NetBSD: trap.c,v 1.87 2010/04/06 07:44:09 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.86 2010/04/03 07:46:02 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.87 2010/04/06 07:44:09 skrll Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@@ -109,11 +109,12 @@
void ss_clear_breakpoints(struct lwp *l);
int ss_put_value(struct lwp *, vaddr_t, u_int);
int ss_get_value(struct lwp *, vaddr_t, u_int *);
-#endif
/* single-step breakpoint */
#define SSBREAKPOINT (HPPA_BREAK_KERNEL | (HPPA_BREAK_SS << 13))
+#endif
+
#if defined(DEBUG) || defined(DIAGNOSTIC)
/*
* 0x6fc1000 is a stwm r1, d(sr0, sp), which is the last