Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa Include SSBREAKPOINT in the PTRACE #ifdef...
details: https://anonhg.NetBSD.org/src/rev/d10a554f6f39
branches: trunk
changeset: 753668:d10a554f6f39
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Apr 06 07:44:09 2010 +0000
description:
Include SSBREAKPOINT in the PTRACE #ifdef/#endif.
diffstat:
sys/arch/hppa/hppa/trap.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 0ed3c0050af6 -r d10a554f6f39 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Tue Apr 06 02:30:40 2010 +0000
+++ b/sys/arch/hppa/hppa/trap.c Tue Apr 06 07:44:09 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index